Class NetherNetLogging

java.lang.Object
org.cloudburstmc.netty.util.nethernet.NetherNetLogging

public final class NetherNetLogging extends Object
Controls native logging before messages cross into Java, and configures supported Java backends.
  • Field Details

    • NATIVE_LOGGER

      public static final String NATIVE_LOGGER
      The SLF4J logger libdatachannel routes its native output through.
      See Also:
  • Method Details

    • setNativeLogLevel

      public static boolean setNativeLogLevel(String level)
      Sets the native threshold and, when available, the Log4j2 or Logback logger level.
      Parameters:
      level - One of OFF, ERROR, WARN, INFO, DEBUG, TRACE or ALL. WARN is a good default.
      Returns:
      true if the native threshold was set, false if the level was invalid.