urbanindo/yii2-json-log-file-target

File target that stores log as JSON

2.0.14.1 2018-06-07 10:15 UTC

This package is auto-updated.

Last update: 2020-07-16 10:37:06 UTC


README

Store log file as Json

Latest Stable Version Total Downloads Latest Unstable Version Build Status codecov

Usage

'components' => [
    'log' => [
        'targets' => [
            [
                'class' => JsonFileTarget::class,
                'levels' => ['error', 'warning'],
                'decodeMessage' => false,
            ]
        ]
    ]
]