docs: public LocationInfo getLocationInfo(LoggingEvent event) {
          if (event != loggingEvent.get()) {
              loggingEvent.set(event);
              clearLocationInfo();
          }
          // For async appenders, the locationInfo is set in the MDC and not with
          // the thread since the thread that processes the logging is different
          // from the one that
          // generates location information.
          LocationInfo locationInfo = (LocationInfo) event.getMDC(LOCATION_INFO);
          if (locationInfo == null) {
              locationInfo = this.generateLocationInfo(event);
          }
  
          return locationInfo;
      }