oohlahlogger

Send Yii Logs to oohlalog.com, and get alerts for errors, etc from them
1 follower

This is a method to send logs to oohlalog.com. You can configure their service to send you alerts based on level,etc.

Usage

To configure please setup main.php config file:

'log'=>array(
        'class'=>'CLogRouter',
        'routes'=>array(
                array(
                        //  change the class location to suit your setup
                        'class'=>'common.extensions.OohLaLogger',
                        // for levels see: http://www.yiiframework.com/doc/guide/1.1/en/topics.logging
                        'levels'=>'info,error,warning',
                        // if you have YII_DEBUG set to true and this set to true it will skip logging
                        'skip_if_yiidebug_on' => true,
                        // Put your api key here
                        'oohLaLogApiKey' => 'YOUR_API_KEY_HERE'
                ),
        )
),

Resources

Get the code here: Github Repo

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet