/yii2-papertrail

Primary LanguagePHPOtherNOASSERTION

Yii2 PaperTrail logging

This allows your Yii application to send its log messages to PaperTrail servers

Example Configuration

    'components' => [
        'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                [
                    'class' => 'fernandezekiel\papertrail\PaperTrailTarget',
                    'levels' => ['error', 'warning'],
                    'url' => 'logs.papertrailapp.com',
                    'port' => 99999
                ],
            ],
        ],
    ...