I am trying to understand the details of slf4j. I am still not clear on how slf4j is considered as a Logging facade?
The intent of facade is to typically -
Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.
In case of slf4j it provides a generic Logger
interface, but each binding project like log4j, logback
etc. need to provide their concrete implementation.
So I understand the how the adapter pattern
fits in but I am still not able to understand how Facade Pattern
is being used.