1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-01 02:40:24 +02:00

Make isHandling create the minimum required record

This commit is contained in:
Jordi Boggiano
2012-12-21 09:41:30 +01:00
parent 0df12342ef
commit cb83512ca5

View File

@@ -338,13 +338,7 @@ class Logger
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) {