Skip to content

Commit

Permalink
Support logging formatted record
Browse files Browse the repository at this point in the history
  • Loading branch information
Plenty Su committed Apr 16, 2015
1 parent 2e322c1 commit 038591a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ScribeHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function __construct($host, $port)

public function handle(array $record)
{
$this->scribe->log($record['channel'], $record['message']);
$formatted = $this->getFormatter()->format($record);
$this->scribe->log($record['channel'], $formatted);
}
}

0 comments on commit 038591a

Please sign in to comment.