mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-01 10:50:21 +02:00
Merge remote-tracking branch 'mttjohnson/master'
This commit is contained in:
@@ -315,9 +315,17 @@ class Logger implements LoggerInterface
|
||||
foreach ($this->processors as $processor) {
|
||||
$record = call_user_func($processor, $record);
|
||||
}
|
||||
while (isset($this->handlers[$handlerKey]) &&
|
||||
false === $this->handlers[$handlerKey]->handle($record)) {
|
||||
$handlerKey++;
|
||||
$foundStartingKey = false;
|
||||
foreach ($this->handlers as $key => $handler) {
|
||||
if ($key === $handlerKey) {
|
||||
$foundStartingKey = true;
|
||||
}
|
||||
if ($foundStartingKey === false) {
|
||||
continue;
|
||||
}
|
||||
if (true === $handler->handle($record)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user