code: public static void invokeOnRequestLog(RequestLogListener listener, RequestLog log) {
          try (SafeCloseable ignored = log.context().push()) {
              listener.onRequestLog(log);
          } catch (Throwable e) {
              logger.warn("onRequestLog() failed with an exception:", e);
          }
      }
docs: Invokes {@link RequestLogListener#onRequestLog(RequestLog)}.