Personally I just use logback as my testing Logger - the ListAppender is a nice easy way to check logging events and you can set log levels programatically.
On 17 Sep 2010, at 20:08, Greg Lindholm <[email protected]> wrote: > 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? > _______________________________________________ > slf4j-user mailing list > [email protected] > http://qos.ch/mailman/listinfo/slf4j-user _______________________________________________ slf4j-user mailing list [email protected] http://qos.ch/mailman/listinfo/slf4j-user
