Skip to content

skeeks-cms/cms-log-db-target

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Error logging in mysql database for SkeekS CMS

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