code: @Deprecated
      public static void setLogLevel(@NonNull LogDomain domain, @NonNull LogLevel level) {
          if (domain == null) { throw new IllegalArgumentException("domain cannot be null."); }
          if (level == null) { throw new IllegalArgumentException("level cannot be null."); }
  
          Log.setLogLevel(domain, level);
      }
docs: Set log level for the given log domain.
  
  @param domain The log domain
  @param level  The log level
  @deprecated As of 2.5 because it is being replaced with the
  {@link com.couchbase.lite.Log#getConsole() getConsole} method
  from the {@link #LOG log} property.  This method has
  been replaced with a no-op to preserve API compatibility.