How to Configure SLF4J with Different Logger Implementations 08.21.2013 slf4j library as your Java application logging API layer. Here I will show few examples on how to use and configure it with different loggers. You can think of slf4j as an Java interface, and then you would need an implementation (ONLY ONE) at runtime to provide the actual logging details, such as writing to STDOUT or to a file etc. Each logging implementation (or called binding) would obviously have their own way of configuring the log output, but your application will remain agnostic and always use the same org.
Read full article from How to Configure SLF4J with Different Logger Implementations | Javalobby
No comments:
Post a Comment