We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67a685 commit 1e09138Copy full SHA for 1e09138
src/Illuminate/Log/LogManager.php
@@ -244,12 +244,16 @@ protected function createStackDriver(array $config)
244
$handlers = collect($config['channels'])->flatMap(function ($channel) {
245
return $this->channel($channel)->getHandlers();
246
})->all();
247
+
248
+ $processors = collect($config['channels'])->flatMap(function ($channel) {
249
+ return $this->channel($channel)->getProcessors();
250
+ })->all();
251
252
if ($config['ignore_exceptions'] ?? false) {
253
$handlers = [new WhatFailureGroupHandler($handlers)];
254
}
255
- return new Monolog($this->parseChannel($config), $handlers);
256
+ return new Monolog($this->parseChannel($config), $handlers, $processors);
257
258
259
/**
0 commit comments