maxyc/yii2-logyii Who says that log management is all about searching? Logyii automatically summarizes your logs so you can jump to what matters.

extensionloglogservice

Client for logyii.ru service

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist maxyc/yii2-logyii "*"

or add

"maxyc/yii2-logyii": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

'components' => [
        ...
        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                ...
                'logyii'=>[
                    'class' => 'maxyc\logyii\Target',
                    'baseUrl'=>'http://api.logyii.ru/import/',
                    'token'=>'000000-0000-0000-0000-0000-0000-0000',
                    'enableIp'=>true,
                    'enableTrail'=>true,
                    'tags'=>['test', 'db']
                ]
            ],
        ],
    ],

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



BSD-3-Clause license
Stats
0 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
0 total downloads