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 c28ea77 commit 7a48cd9Copy full SHA for 7a48cd9
src/Instrumentation/Laravel/src/Watchers/LogWatcher.php
@@ -37,8 +37,9 @@ public function recordLog(MessageLogged $log): void
37
$underlyingLogger = $this->logger->getLogger();
38
39
/** @phan-suppress-next-line PhanUndeclaredMethod */
40
- if (method_exists($underlyingLogger, 'isHandling') && !$underlyingLogger->isHandling(
41
- $underlyingLogger->toMonologLevel($log->level))
+ if (method_exists($underlyingLogger, 'isHandling')
+ && method_exists($underlyingLogger, 'toMonologLevel')
42
+ && !$underlyingLogger->isHandling($underlyingLogger->toMonologLevel($log->level))
43
) {
44
return;
45
}
0 commit comments