Yii 1.1: loganalyzer

Yii LogAnalyzer - Log file analyzer for Yii (application.log)
14 followers

Yii LogAnalyzer - Log file analyzer for Yii (application.log)

Requirements

Yii 1.1 or above

Usage

Print out the widget in the view:

<?php
$this->widget('ext.loganalyzer.LogAnalyzerWidget', array(
        'filters' => array('Text filtering','One more'),
        'title'   => 'Title of the widget' ,
        // 'log_file_path' => 'Absolute path of the Log File',
    ));  
?>

In addition:

Also in the expansion is extended to marshurt logs, which adds to the message logger ip client. Connect as follows:

<?php
'log'=>array(
    'class'=>'CLogRouter',
    'routes'=>array(
        ....
        array(
            'class'=>'ext.loganalyzer.LALogRoute',
            'levels'=>'info, error, warning',
            ... 
        ),
        ...
    ),
),
?>

Features:

  • Easy connection to the project
  • Output messages from the log file
  • Filter log messages (Remove unwanted messages from issuance)
  • Filter log output (output only error, warning or info)
  • Cleaning the log file
  • Multilingual (russian, english and Portuguese)

Resources

Be the first person to leave a comment

Please to leave your comment.

Create extension