Skip to content

Commit

Permalink
fixed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Gorbylev committed Mar 3, 2015
1 parent 2a84b6b commit 5bff2ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $log->pushHandler($zmqHandler);
<?php
use Bankiru\MonologLumberjack\LumberjackHandler;
use Monolog\Formatter\LogstashFormatter;
use Bankiru\MonologLumberjack\LumberjackFormatter;
use Ekho\Logstash\Lumberjack;
$lumberjackHandler = new LumberjackHandler(
Expand All @@ -74,7 +74,7 @@ $lumberjackHandler = new LumberjackHandler(
true // bubble
);
$lumberjackHandler->setFormatter(new LogstashFormatter('my_app_name'));
$lumberjackHandler->setFormatter(new LumberjackFormatter('my_app_name'));
$log = new Logger('name');
$log->pushHandler($lumberjackHandler);
Expand Down

0 comments on commit 5bff2ef

Please sign in to comment.