@@ -16,9 +16,9 @@ |
||
16 | 16 | public function __invoke(array $options) |
17 | 17 | { |
18 | 18 | $handler = $this->getHandlerManager()->get($options['handler']); |
19 | - $deduplicationStore = $options['deduplicationStore'] ?? null; |
|
20 | - $deduplicationLevel = (int) ($options['deduplicationLevel'] ?? Logger::ERROR); |
|
21 | - $time = (int) ($options['time'] ?? 60); |
|
19 | + $deduplicationStore = $options['deduplicationStore'] ?? null; |
|
20 | + $deduplicationLevel = (int) ($options['deduplicationLevel'] ?? Logger::ERROR); |
|
21 | + $time = (int) ($options['time'] ?? 60); |
|
22 | 22 | $bubble = (boolean) ($options['bubble'] ?? true); |
23 | 23 | |
24 | 24 | return new DeduplicationHandler( |
@@ -16,7 +16,7 @@ |
||
16 | 16 | public function __invoke(array $options) |
17 | 17 | { |
18 | 18 | $client = $this->getService($options['client'] ?? null); |
19 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
19 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
20 | 20 | $bubble = (boolean) ($options['bubble'] ?? true); |
21 | 21 | |
22 | 22 | return new DoctrineCouchDBHandler( |
@@ -19,10 +19,10 @@ |
||
19 | 19 | { |
20 | 20 | $handler = $this->getHandlerManager()->get($options['handler']); |
21 | 21 | $activationStrategy = $this->getActivationStrategy($options); |
22 | - $bufferSize = (int) ($options['bufferSize'] ?? 0); |
|
22 | + $bufferSize = (int) ($options['bufferSize'] ?? 0); |
|
23 | 23 | $bubble = (boolean) ($options['bubble'] ?? true); |
24 | 24 | $stopBuffering = (boolean) ($options['stopBuffering'] ?? true); |
25 | - $passthruLevel = $options['passthruLevel'] ?? null; |
|
25 | + $passthruLevel = $options['passthruLevel'] ?? null; |
|
26 | 26 | |
27 | 27 | return new FingersCrossedHandler( |
28 | 28 | $handler, |
@@ -16,9 +16,9 @@ |
||
16 | 16 | public function __invoke(array $options) |
17 | 17 | { |
18 | 18 | $client = $this->getService($options['client'] ?? null); |
19 | - $database = (string) ($options['database'] ?? ''); |
|
20 | - $collection = (string) ($options['collection'] ?? ''); |
|
21 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
19 | + $database = (string) ($options['database'] ?? ''); |
|
20 | + $collection = (string) ($options['collection'] ?? ''); |
|
21 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
22 | 22 | $bubble = (boolean) ($options['bubble'] ?? true); |
23 | 23 | |
24 | 24 | return new MongoDBHandler( |
@@ -16,8 +16,8 @@ |
||
16 | 16 | public function __invoke(array $options) |
17 | 17 | { |
18 | 18 | $handler = $this->getHandlerManager()->get($options['handler']); |
19 | - $bufferLimit = (int) ($options['bufferLimit'] ?? 0); |
|
20 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
19 | + $bufferLimit = (int) ($options['bufferLimit'] ?? 0); |
|
20 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
21 | 21 | $bubble = (boolean) ($options['bubble'] ?? true); |
22 | 22 | $flushOnOverflow = (boolean) ($options['flushOnOverflow'] ?? true); |
23 | 23 |
@@ -11,8 +11,8 @@ |
||
11 | 11 | { |
12 | 12 | public function __invoke(array $options) |
13 | 13 | { |
14 | - $messageType = (int) ($options['messageType'] ?? ErrorLogHandler::OPERATING_SYSTEM); |
|
15 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
14 | + $messageType = (int) ($options['messageType'] ?? ErrorLogHandler::OPERATING_SYSTEM); |
|
15 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
16 | 16 | $bubble = (boolean) ($options['bubble'] ?? true); |
17 | 17 | $expandNewlines = (boolean) ($options['expandNewlines'] ?? false); |
18 | 18 |
@@ -11,11 +11,11 @@ |
||
11 | 11 | { |
12 | 12 | public function __invoke(array $options) |
13 | 13 | { |
14 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
14 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
15 | 15 | $bubble = (boolean) ($options['bubble'] ?? true); |
16 | - $appName = $options['appName'] ?? null; |
|
16 | + $appName = $options['appName'] ?? null; |
|
17 | 17 | $explodeArrays = (boolean) ($options['explodeArrays'] ?? false); |
18 | - $transactionName = $options['transactionName'] ?? null; |
|
18 | + $transactionName = $options['transactionName'] ?? null; |
|
19 | 19 | |
20 | 20 | return new NewRelicHandler( |
21 | 21 | $level, |
@@ -16,10 +16,10 @@ |
||
16 | 16 | public function __invoke(array $options) |
17 | 17 | { |
18 | 18 | $client = $this->getService($options['client'] ?? null); |
19 | - $index = (string) ($options['index'] ?? 'monolog'); |
|
20 | - $type = (string) ($options['type'] ?? 'record'); |
|
19 | + $index = (string) ($options['index'] ?? 'monolog'); |
|
20 | + $type = (string) ($options['type'] ?? 'record'); |
|
21 | 21 | $ignoreError = (boolean) ($options['ignoreError'] ?? false); |
22 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
22 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
23 | 23 | $bubble = (boolean) ($options['bubble'] ?? true); |
24 | 24 | |
25 | 25 | return new ElasticSearchHandler( |
@@ -15,9 +15,9 @@ |
||
15 | 15 | |
16 | 16 | public function __invoke(array $options) |
17 | 17 | { |
18 | - $consoleOptions = (array) ($options['options'] ?? []); |
|
18 | + $consoleOptions = (array) ($options['options'] ?? []); |
|
19 | 19 | $connector = $this->getService($options['connector'] ?? null); |
20 | - $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
20 | + $level = (int) ($options['level'] ?? Logger::DEBUG); |
|
21 | 21 | $bubble = (boolean) ($options['bubble'] ?? true); |
22 | 22 | |
23 | 23 | return new PHPConsoleHandler( |