yiisentrylog Log all error and exception to sentry server.

  1. Requirements
  2. Usage
  3. Resource

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

Requirements

Usage

  • Put your clone inside `/protected/components/yii-sentry-log`
  • Edit your `config.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',
                ),                
            ),
        ),
        ...
    )
    ...

Resource

Github repository

4 0
8 followers
0 downloads
Yii Version: 1.1
License: MIT
Category: Logging
Developed by: TheBee
Created on: Oct 11, 2012
Last updated: 11 years ago

Related Extensions