SLF4JLogger
Logger that forwards all log statements to SLF4J API.
SLF4J in turn allows using Logback or other implementations. This way, you can use the expressive logback.xml configuration and appender.
Logger that forwards all log statements to SLF4J API on JVM and Android platforms.
Suitable to replace saschpe.log4k.ConsoleLogger:
Log.loggers.clear()
Log.loggers += SLF4JLogger()Content copied to clipboard
On JVM or Android, SLF4J is used for logging. On JS or Apple platforms, console logging is used internally.