[slf4j-dev] Why no error(Throwable) on the Logger interface?

Robert Elliot rob at lidalia.org.uk
Thu May 28 16:32:37 CEST 2009


>> My logging implementation gives me that information if I want it.

> Then why are you using SLF4J?

> The main purpose of a logging facade like SLF4J is to cover cases
> where you don't and can't know what logging implementation or
> configuration will be used in places where your code is being
> deployed.

I take it you include a date stamp in all your log messages then?  Or do you rely on your logging implementation to do that?



More information about the slf4j-dev mailing list