mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-02 03:10:15 +02:00
Update example in RedisHandler (#1894)
This commit is contained in:
@@ -24,7 +24,7 @@ use Redis;
|
|||||||
* usage example:
|
* usage example:
|
||||||
*
|
*
|
||||||
* $log = new Logger('application');
|
* $log = new Logger('application');
|
||||||
* $redis = new RedisHandler(new Predis\Client("tcp://localhost:6379"), "logs", "prod");
|
* $redis = new RedisHandler(new Predis\Client("tcp://localhost:6379"), "logs");
|
||||||
* $log->pushHandler($redis);
|
* $log->pushHandler($redis);
|
||||||
*
|
*
|
||||||
* @author Thomas Tourlourat <thomas@tourlourat.com>
|
* @author Thomas Tourlourat <thomas@tourlourat.com>
|
||||||
|
Reference in New Issue
Block a user