Permalink
Browse files

Make isHandling create the minimum required record

  • Loading branch information...
Seldaek committed Dec 21, 2012
1 parent 0df1234 commit cb83512ca5d560527c89b300b670aabab97c7917
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/Monolog/Logger.php
View
@@ -338,13 +338,7 @@ public static function getLevelName($level)
public function isHandling($level)
{
$record = array(
- 'message' => '',
- 'context' => array(),
'level' => $level,
- 'level_name' => static::getLevelName($level),
- 'channel' => $this->name,
- 'datetime' => new \DateTime('now', static::$timezone),
- 'extra' => array(),
);
foreach ($this->handlers as $key => $handler) {

0 comments on commit cb83512

Please sign in to comment.