diff options
Diffstat (limited to 'lib/private/Diagnostics/EventLogger.php')
-rw-r--r-- | lib/private/Diagnostics/EventLogger.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Diagnostics/EventLogger.php b/lib/private/Diagnostics/EventLogger.php index 11c59b9227a..3ec35a5e9ce 100644 --- a/lib/private/Diagnostics/EventLogger.php +++ b/lib/private/Diagnostics/EventLogger.php @@ -1,4 +1,5 @@ <?php + /** * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors * SPDX-FileCopyrightText: 2016 ownCloud, Inc. @@ -48,7 +49,7 @@ class EventLogger implements IEventLogger { return true; } - $isDebugLevel = $this->internalLogger->getLogLevel([]) === Log::DEBUG; + $isDebugLevel = $this->internalLogger->getLogLevel([], '') === Log::DEBUG; return $systemValue && $isDebugLevel; } |