protected static function getLevelAsInt($p_level)
    {
        switch ($p_level) {
            case \Psr\Log\LogLevel::DEBUG:
                return 9;
            case \Psr\Log\LogLevel::INFO:
                return 8;
            case \Psr\Log\LogLevel::ALERT:
                return 7;
            case \Psr\Log\LogLevel::NOTICE:
                return 6;
            case \Psr\Log\LogLevel::WARNING:
                return 5;
            case \Psr\Log\LogLevel::ERROR:
                return 3;
            case \Psr\Log\LogLevel::CRITICAL:
                return 2;
            case \Psr\Log\LogLevel::EMERGENCY:
                return 1;
        }
        return 0;
    }