Yii sentry log is a component for Yii to send all logging and exception to sentry server instead of showing it on screen or save it on files, especially when you set YII_DEBUG to false, this module based on raven-php by getsentry.
You can also clone project at my github repository
/protected/components/yii-sentry-logconfig.php... 'components'=>array( ... 'log'=>array( 'class'=>'CLogRouter', 'routes'=>array( array( 'class'=>'application.components.yii-sentry-log.RSentryLog', 'dsn'=> '[YOUR_DSN_FROM_SENTRY_SERVER]', 'levels'=>'error, warning', ), ), ), ... ) ...
Total 2 comments
Hi Ivica,
Sorry for late reply, its great idea thanks, I'll working on it ASAP, you can see the progress on Github Issues.
Thanks.
Great extension, thanks for share!
I would just change last line in your SentryLog component, so we get sentry message id(aka 'ident'), so users can reference to this bug:
Leave a comment
Please login to leave your comment.