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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user