code: public void setLevel(@NonNull LogLevel level) {
          if (config == null) {
              throw new IllegalStateException("Cannot set logging level without a configuration");
          }
  
          if (logLevel.equals(level)) {
              return;
          }
  
          logLevel = level;
          C4Log.setBinaryFileLevel(level.getValue());
      }
docs: Sets the overall logging level that will be written to
  the logging files.
  
  @param level The maximum level to include in the logs