Class NetherNetLogging
java.lang.Object
org.cloudburstmc.netty.util.nethernet.NetherNetLogging
Controls native logging before messages cross into Java, and configures supported Java backends.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe SLF4J logger libdatachannel routes its native output through. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleansetNativeLogLevel(String level) Sets the native threshold and, when available, the Log4j2 or Logback logger level.
-
Field Details
-
NATIVE_LOGGER
The SLF4J logger libdatachannel routes its native output through.- See Also:
-
-
Method Details
-
setNativeLogLevel
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.
-