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: 2024-10-16 19:56:10 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,
            ]
        ]
    ]
]