2017 © Pedro Peláez
 

library yii2-redis-log

stores log messages in redis.

image

jacky/yii2-redis-log

stores log messages in redis.

  • Monday, January 25, 2016
  • by JackyChan
  • Repository
  • 2 Watchers
  • 2 Stars
  • 658 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 15 % Grown

The README.md

Redis Log for Yii 2

Requirements

At least redis version 2.6.12 is required for all components to work properly., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist jacky/yii2-redis-log

or add, (*4)

"jackychan/yii2-redis-log": "~2.0.0"

to the require section of your composer.json., (*5)

Configuration

To use this extension, you have to configure the Connection class in your application configuration:, (*6)

return [
    //....
    'components' => [
        'log' => [
            'targets' => [
                'redis' => [
                    'class' => 'jc\yii\redis\RedisTarget',
                    'redis' => 'redis',
                    'levels' => ['trace', 'info'],
                    'categories' => ['yii\*'],
                ]
            ]
        ],
    ]
];

The Versions

25/01 2016

dev-master

9999999-dev

stores log messages in redis.

  Sources   Download

BSD

The Requires

 

by Avatar JackyChan

25/01 2016

1.0.1

1.0.1.0

stores log messages in redis.

  Sources   Download

BSD

The Requires

 

by Avatar JackyChan