protected static function getLogLevel(array $arguments)
    {
        $argumentsForSearch = implode(' ', $arguments);
        foreach (static::$levels as $argumentPattern => $currentLevel) {
            if (strpos($argumentsForSearch, $argumentPattern) !== false) {
                return $currentLevel;
            }
        }

        return LogLevel::ERROR;
    }