code: @Deprecated
      public static void setLogger(@Nullable final Logger logger) {
          LogOptions.Logger loggerToSet = logger == null
                  ? logcatLogger
                  : new LogOptions.Logger() {
              @Override
              public void log(int level, String tag, String msg) {
                  logger.log(level, tag, msg);
              }
          };
          LogOptions newLogOptions = new LogOptions.Builder().setLogger(loggerToSet).build();
          RxBleLog.updateLogOptions(newLogOptions);
      }
docs: Old method to set a custom logger implementation, set it to {@code null} to use default logcat logging.
  It updates only the logger object. The rest of log settings remain unchanged.
  <p>
  Example how to forward logs to Timber:<br>
  
  <code>
  <pre>
  RxBleLog.setLogger(new RxBleLog.Logger() {
  &#64;Override
  public void log(final int level, final String tag, final String msg) {
  Timber.tag(tag).log(level, msg);
  }
  });
  </pre>
  </code>
  
  @deprecated use {@link com.polidea.rxandroidble2.RxBleClient#updateLogOptions(LogOptions)}