Download the PHP package dmstr/yii2-log without Composer
On this page you can find all versions of the php package dmstr/yii2-log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-log
Yii 2.0 Framework Log Classes
SyslogTarget writes log to syslog.
Installation
The preferred way to install this extension is through composer.
Run
Usage
Once the extension is installed, simply use it in your code by :
'log' => [
'targets' => [
[
'class' => 'dmstr\log\SyslogTarget',
'levels' => ['error', 'warning', 'info', 'trace'],
'enabled' => true,
'logVars' => ['_GET','_POST'],
],
],
],
Settings
Output is currently send via
error_log()
which allows you to capture output from php-fpm in nginx for development. This extension was created mainly for development with docker, fig and vagrant.
Sample output
Start docker container with fig up
or docker run
All versions of yii2-log with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
The package dmstr/yii2-log contains the following files
Loading the files please wait ....