mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 16:46:11 +02:00
Fix Buffer, Group and FingersCrossed handlers to make use of their processors, fixes #170
This commit is contained in:
@@ -55,6 +55,12 @@ class GroupHandler extends AbstractHandler
|
||||
*/
|
||||
public function handle(array $record)
|
||||
{
|
||||
if ($this->processors) {
|
||||
foreach ($this->processors as $processor) {
|
||||
$record = call_user_func($processor, $record);
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($this->handlers as $handler) {
|
||||
$handler->handle($record);
|
||||
}
|
||||
|
Reference in New Issue
Block a user