mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 00:56:08 +02:00
Fix Buffer, Group and FingersCrossed handlers to make use of their processors, fixes #170
This commit is contained in:
@@ -65,6 +65,12 @@ class BufferHandler extends AbstractHandler
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->processors) {
|
||||
foreach ($this->processors as $processor) {
|
||||
$record = call_user_func($processor, $record);
|
||||
}
|
||||
}
|
||||
|
||||
$this->buffer[] = $record;
|
||||
$this->bufferSize++;
|
||||
|
||||
|
Reference in New Issue
Block a user