code: public void setLevel(@NonNull LogLevel level) {
          if (level == null) { throw new IllegalArgumentException("level cannot be null."); }
  
          if (logLevel == level) { return; }
  
          logLevel = level;
          setCallbackLevel(level);
      }
docs: Sets the overall logging level that will be written to
  the Android system log
  
  @param level The maximum level to include in the logs