public static function toBitrixLevel($level)
    {
        $levels = static::logLevels();

        if (isset($levels[$level]))
        {
            return $levels[$level];
        }

        return false;
    }
public static function toBitrixLevel($level)
    {
        $levels = static::logLevels();

        if (isset($levels[$level]))
        {
            return $levels[$level];
        }

        return false;
    }
public static function toBitrixLevel ( $ level ) { $ levels = static :: logLevels ( ) ; if ( isset ( $ levels [ $ level ] ) ) { return $ levels [ $ level ] ; } return false ; }
Converts Monolog levels to Bitrix ones if necessary.

@param int $level Level number.

@return string|bool
Converts Monolog levels to Bitrix ones if necessary .