Browse Source

Reset map function name

pull/6482/head
Philipp Holzer 2 years ago
committed by Hypolite Petovan
parent
commit
282507922a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Core/Logger.php

+ 2
- 2
src/Core/Logger.php View File

@ -84,7 +84,7 @@ class Logger extends BaseObject
}
if (is_int($loglevel)) {
$loglevel = self::mapLegacyDebugLevel($loglevel);
$loglevel = self::mapLegacyConfigDebugLevel($loglevel);
}
LoggerFactory::addStreamHandler($logger, $logfile, $loglevel);
@ -111,7 +111,7 @@ class Logger extends BaseObject
*
* @return string the PSR-3 compliant level
*/
private static function mapLegacyDebugLevel($level)
private static function mapLegacyConfigDebugLevel($level)
{
switch ($level) {
// legacy WARNING


Loading…
Cancel
Save