Skip to content

Commit

Permalink
Log all deprecations with debug level
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst authored and backportbot-nextcloud[bot] committed Nov 3, 2022
1 parent ac06307 commit 808e604
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Log/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public static function errnoToLogLevel(int $errno): int {
case E_USER_WARNING:
return ILogger::WARN;

case E_DEPRECATED:
case E_USER_DEPRECATED:
return ILogger::DEBUG;

Expand Down

0 comments on commit 808e604

Please sign in to comment.