code: public function getLogLevelMapping(string $eventName): string
      {
          if (! isset($this->logLevelMappings[$eventName])) {
              throw new GitException(sprintf('Unknown event "%s"', $eventName));
          }
  
          return $this->logLevelMappings[$eventName];
      }
docs: Returns the log level mapping for an event.