mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 16:46:11 +02:00
Move the stack handling to the Logger class
This commit is contained in:
@@ -26,12 +26,9 @@ class NullHandler extends AbstractHandler
|
||||
public function handle($message)
|
||||
{
|
||||
if ($message['level'] < $this->level) {
|
||||
return $this->parent ? $this->parent->handle($message) : false;
|
||||
return false;
|
||||
}
|
||||
if ($this->bubble && $this->parent) {
|
||||
$this->parent->handle($originalMessage);
|
||||
}
|
||||
return true;
|
||||
return false === $this->bubble;
|
||||
}
|
||||
|
||||
public function write($message)
|
||||
|
Reference in New Issue
Block a user