* @license https://files.froxlor.org/misc/COPYING.txt GPLv2 */ use Froxlor\UI\Callbacks\SysLog; use Froxlor\UI\Callbacks\Text; use Froxlor\UI\Listing; return [ 'syslog_list' => [ 'title' => lng('menue.logger.logger'), 'icon' => 'fa-solid fa-file-lines', 'self_overview' => ['section' => 'logger', 'page' => 'log'], 'columns' => [ 'date' => [ 'label' => lng('logger.date'), 'field' => 'date', 'callback' => [Text::class, 'timestamp'], ], 'type' => [ 'label' => lng('logger.type'), 'field' => 'type', 'callback' => [SysLog::class, 'typeDescription'], ], 'user' => [ 'label' => lng('logger.user'), 'field' => 'user', ], 'text' => [ 'label' => lng('logger.action'), 'field' => 'text', ] ], 'visible_columns' => Listing::getVisibleColumnsForListing('syslog_list', [ 'date', 'type', 'user', 'text' ]) ] ];