private function getPhalconLoggerLevel($level)
    {
        $levelMap = [
            LogLevel::INFO => PhalconLogLevel::INFO,
            LogLevel::DEBUG => PhalconLogLevel::DEBUG,
            LogLevel::ALERT => PhalconLogLevel::ALERT,
            LogLevel::CRITICAL => PhalconLogLevel::CRITICAL,
            LogLevel::EMERGENCY => PhalconLogLevel::EMERGENCY,
            LogLevel::ERROR => PhalconLogLevel::ERROR,
            LogLevel::NOTICE => PhalconLogLevel::NOTICE,
            LogLevel::WARNING => PhalconLogLevel::WARNING
        ];

        return ArrayUtils::getValue($levelMap, $level, PhalconLogLevel::INFO);
    }