2017 © Pedro Peláez
 

yii2-extension yii2-log

This extension provides pages to browse the logs stored in database

image

sylletka/yii2-log

This extension provides pages to browse the logs stored in database

  • Saturday, September 24, 2016
  • by sylletka
  • Repository
  • 1 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 44 % Grown

The README.md

yii2-log

This module provides a simple way to view the log entries stored in database via yii\log\DbTarget, (*1)

Install

  1. configure at least one log target as a DbTarget, (*2)

            ...
            'log' => [
                ...
                'targets' => [
                    [
                        'class' => 'yii\log\DbTarget',
                        'levels' => ['error', 'warning'],
                    ],
                ],
                ...
            ],
            ...
    
    

    Please refer to The definitive guide about Yii 2, in the chapter about logging and to the reference documentation about the class DbTarget to get further information about logging and logging storage in database with Yii2., (*3)

  2. enable the module in config file, (*4)

    <?php
        ......
        'modules' => [
            'log' => [
                'class' => 'sylletka\log\Module',
            ],
        ],
        ......
    

Usage

point to /log to browse the Log entries, (*5)

The Versions

24/09 2016

dev-master

9999999-dev

This extension provides pages to browse the logs stored in database

  Sources   Download

BSD-3-Clause

The Requires

 

by Samuele Saorin

log yii2