mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +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) {
|
foreach ($this->processors as $processor) {
|
||||||
$record = call_user_func($processor, $record);
|
$record = call_user_func($processor, $record);
|
||||||
}
|
}
|
||||||
while (isset($this->handlers[$handlerKey]) &&
|
$foundStartingKey = false;
|
||||||
false === $this->handlers[$handlerKey]->handle($record)) {
|
foreach ($this->handlers as $key => $handler) {
|
||||||
$handlerKey++;
|
if ($key === $handlerKey) {
|
||||||
|
$foundStartingKey = true;
|
||||||
|
}
|
||||||
|
if ($foundStartingKey === false) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (true === $handler->handle($record)) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user