skeeks/cms-log-db-target

Error logging in mysql database for SkeekS CMS

Installs: 4 846

Dependents: 3

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 1

Type:yii2-extension

1.4.6.1 2019-11-18 10:47 UTC

README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/cms-log-db-target "*"

or add

"skeeks/cms-log-db-target": "*"

Configuration app


'components' =>
[
    'i18n' => [
        'translations' =>
        [
            'skeeks/logdb/app' => [
                'class'             => 'yii\i18n\PhpMessageSource',
                'basePath'          => '@skeeks/cms/logDbTarget/messages',
                'fileMap' => [
                    'skeeks/logdb/app' => 'app.php',
                ],
            ]
        ]
    ],

    'logDbTargetSettings' => [
        'class'     => 'skeeks\cms\logDbTarget\components\LogDbTargetSettings',
    ],

    'log' => [
        'targets' => [
            [
                'class'     => 'skeeks\cms\logDbTarget\LogDbTarget',
            ],
        ],
    ]
],

'modules' =>
[
    'logDbTarget' => [
        'class'         => '\skeeks\cms\logDbTarget\Module',
    ]
]

Links

skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com