white43/yii2-fleep

Installs: 49

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2019-04-06 07:03 UTC

This package is auto-updated.

Last update: 2024-11-06 19:09:46 UTC


README

Installation

composer require white43/yii2-fleep

Config

  • Open config/web.php of your Yii2 app
  • Make necessary changes
$config = [
    'components' => [
        'log' => [
            'targets' => [
                'fleep' => [
                    'class' => white43\Fleep\FleepTarget::class,
                    'levels' => ['error', 'warning'],
                    'hook' => 'INSERT_YOUR_HOOK_ID_HERE',
                ],
            ],
        ],
    ],
];
  • Profit!