Functions
Link copied to clipboard
Makes SLF4J the sink for log4k logging: registers a Slf4jLoggingAppender and — by default — unregisters every other logging appender (the default SimpleConsoleLoggingAppender included), so nothing is logged twice. Pass unregisterOthers= false to keep the appenders already registered and add the SLF4J one alongside them.