public function setLogLevelThreshold(string $logLevelThreshold): void
    {
        if (! array_key_exists($logLevelThreshold, $this->logLevels)) {
            throw new InvalidArgumentException('Invalid log level. Must be one of : ' . implode(', ', array_keys($this->logLevels)));
        }

        $this->logLevelThreshold = $logLevelThreshold;
    }