[slf4j-user] Library best practice

Boris Unckel boris.unckel.mlg at gmx.net
Sun Mar 11 16:50:10 CET 2007


Hi Martin,

Martin Jericho wrote:
> Regarding Q3, I actually meant the StaticLoggerBinder class, not the 
> LoggerFactory class.
>
> How does the classloader know at runtime that it should use the 
> StaticLoggerBinder class from the implementation jar instead of the "dummy" 
> one in the API jar?
>
>   
This is very easy: The dummy is not included in the jar and just needed 
at compile time.

> Sorry for the confusion. 
No problem.

Regards
Boris



More information about the slf4j-user mailing list