dev-master
9999999-devThis extension provides pages to browse the logs stored in database
BSD-3-Clause
The Requires
by Samuele Saorin
log yii2
This extension provides pages to browse the logs stored in database
This module provides a simple way to view the log entries stored in database via yii\log\DbTarget, (*1)
configure at least one log target as a DbTarget, (*2)
... 'log' => [ ... 'targets' => [ [ 'class' => 'yii\log\DbTarget', 'levels' => ['error', 'warning'], ], ], ... ], ...
Please refer to The definitive guide about Yii 2, in the chapter about logging and to the reference documentation about the class DbTarget to get further information about logging and logging storage in database with Yii2., (*3)
enable the module in config file, (*4)
<?php ...... 'modules' => [ 'log' => [ 'class' => 'sylletka\log\Module', ], ], ......
point to /log to browse the Log entries, (*5)
This extension provides pages to browse the logs stored in database
BSD-3-Clause
log yii2