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 67ce817 commit c28ea77Copy full SHA for c28ea77
src/Instrumentation/Laravel/src/Watchers/LogWatcher.php
@@ -37,7 +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($log->level)) {
+ if (method_exists($underlyingLogger, 'isHandling') && !$underlyingLogger->isHandling(
41
+ $underlyingLogger->toMonologLevel($log->level))
42
+ ) {
43
return;
44
}
45
0 commit comments