code: static public void setLogLevel(LogLevel level) {
          logLevel = level;
          log.setLevel(level.value());
          for (Handler handler : log.getHandlers()) {
              handler.setLevel(level.value());
          }
      }
docs: changes the log level for all loggers used
  
  @param level - LogLevel instance
  @see Modbus.LogLevel