public function logLevel($level)
    {
        if (!is_numeric($level)) {
            return $level;
        }

        try {
            return ucfirst(strtolower(\Monolog\Logger::getLevelName($level)));
        } catch (\Exception $e) {
            return $level;
        }
    }
public function logLevel($level)
    {
        if (!is_numeric($level)) {
            return $level;
        }

        try {
            return ucfirst(strtolower(\Monolog\Logger::getLevelName($level)));
        } catch (\Exception $e) {
            return $level;
        }
    }
public function logLevel ( $ level ) { if ( ! is_numeric ( $ level ) ) { return $ level ; } try { return ucfirst ( strtolower ( \ Monolog \ Logger :: getLevelName ( $ level ) ) ) ; } catch ( \ Exception $ e ) { return $ level ; } }
Convert a Monolog log level to textual equivalent.

@param int $level

@return string
Convert a Monolog log level to textual equivalent .