This extension extends CEmailLogRoute class, so it inherits most of its functionality, but, this extension adds more useful data to your log messages.
Requirements ¶
- Yii 1.1.13 (should work on prior versions but not tested)
Usage ¶
- Decompress on protected/extensions/
- In protected/config/main.php in components section add:
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
array(
'class' => 'ext.EmailLogRoute.EmailLogRoute',
'emails' => array('user@your-domain.com'),
'subject' => 'Error in your server',
'sentFrom' => 'info@your-domain.com',
),
),
),
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.