Reset map function name
This commit is contained in:
parent
b5afd2a21d
commit
282507922a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue