src/Library/Logger.php
protected function getLevelName($level)
    {
        return in_array($level, self::$levels) ? array_search($level, self::$levels) : '--';
    }
protected function getLevelName($level)
    {
        return in_array($level, self::$levels) ? array_search($level, self::$levels) : '--';
    }
protected function getLevelName ( $ level ) { return in_array ( $ level , self :: $ levels ) ? array_search ( $ level , self :: $ levels ) : '--' ; }
Get a level name

@param   int     $level A type for the message, must be a class constant
@return  string  The level name if found, '--' otherwise
Get a level name