Klasse LoggingConfiguration
java.lang.Object
io.github.astrapisixtynine.easy.logger.LoggingConfiguration
The class
LoggingConfiguration
sets up the logging configuration for the application-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic void
Loads the logging properties file into theLogManager
static void
setup()
Configures the logging setup for the application by resetting existing handlers, loading the logging properties file, and establishing a bridge to SLF4J for JUL log capturestatic void
Configures SLF4J bridge handler to capture JUL logs by removing the default JUL loggers and installing the SLF4J bridge handler
-
Methodendetails
-
setup
public static void setup()Configures the logging setup for the application by resetting existing handlers, loading the logging properties file, and establishing a bridge to SLF4J for JUL log capture -
setupJavaUtilLoggingToSlf4jBridge
public static void setupJavaUtilLoggingToSlf4jBridge()Configures SLF4J bridge handler to capture JUL logs by removing the default JUL loggers and installing the SLF4J bridge handler -
loadLoggingFile
public static void loadLoggingFile()Loads the logging properties file into theLogManager
-