[slf4j-user] Mock logger binding for testing?

Greg Lindholm greg.lindholm at gmail.com
Fri Sep 17 21:08:25 CEST 2010


I'm using SLF4J in a jar library project.
For testing my classes I don't want to perform any real logging (I
don't want to configure log4j).
I would like to use dummy or mock logger binding where I could easily
change the logging level programmatically and also retrieve the text
and details of what was logged.

Does SLF4J provide anything like this?


More information about the slf4j-user mailing list