What is SLF4J?
masterThe Simple Logging Facade for Java (SLF4J) is an abstraction layer for various logging frameworks. It allows developers to write code against a stable API, while the actual logging implementation (e.g.,
logback, log4j 2.x, java.util.logging, tinylog, etc.) is plugged in at deployment time. This decoupling ensures that your application code is not tightly bound to a specific logging library.