code: public static <I extends Request, O extends Response>
      Function<Client<I, O>, LoggingClient<I, O>> newDecorator() {
          return new LoggingClientBuilder()
                  .requestLogLevel(LogLevel.INFO)
                  .successfulResponseLogLevel(LogLevel.INFO)
                  .failureResponseLogLevel(LogLevel.WARN)
                  .newDecorator();
      }
docs: Returns a new {@link Client} decorator that logs {@link Request}s and {@link Response}s at
  {@link LogLevel#INFO} for success, {@link LogLevel#WARN} for failure.
  
  @see LoggingClientBuilder for more information on the default settings.