mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #53124 from nextcloud/fix/log/map-all-warning-notice
This commit is contained in:
commit
a10a52f1f7
1 changed files with 2 additions and 2 deletions
|
|
@ -72,9 +72,9 @@ class ErrorHandler {
|
|||
|
||||
private static function errnoToLogLevel(int $errno): int {
|
||||
return match ($errno) {
|
||||
E_USER_WARNING => ILogger::WARN,
|
||||
E_WARNING, E_USER_WARNING => ILogger::WARN,
|
||||
E_DEPRECATED, E_USER_DEPRECATED => ILogger::DEBUG,
|
||||
E_USER_NOTICE => ILogger::INFO,
|
||||
E_NOTICE, E_USER_NOTICE => ILogger::INFO,
|
||||
default => ILogger::ERROR,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue