SLF4J

Simple Logging Facade for Java
Developer(s) Ceki Gülcü
Stable release
1.7.13[1] / November 10, 2015 (2015-11-10)
Written in Java
Operating system Cross-platform
Type Logging Tool
License MIT License
Website www.slf4j.org

Simple Logging Facade for Java (SLF4J) provides a Java logging API by means of a simple facade pattern. The underlying logging backend is determined at runtime by adding the desired binding to the classpath and may be the standard Sun Java logging package java.util.logging,[2] log4j, logback[3] or tinylog.[4][5]

The separation of the client API from the logging backend reduces the coupling between an application and any particular logging framework. This can make it easier to integrate with existing or third-party code or to deliver code into other projects that have already made a choice of logging backend.

SLF4J was created by Ceki Gülcü as a more reliable alternative to Jakarta Commons Logging framework.[6][7] Research in 2013 on 10,000 GitHub projects found that the most popular Java library is slf4j, with 30.7% of projects using it.[8]

Similarities and differences with log4j 1.x

Similarities and differences with log4j 2.x

Apache log4j 2.x supports all slf4j features.[10]

See also

References

External links

This article is issued from Wikipedia - version of the 5/16/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.