[slf4j-dev] [Bug 289] Add a NOOP method org.apache.log4j.Logger.setLevel() to enhance the bridging of Log4J over SLF4J

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Wed Sep 4 13:50:32 CEST 2013


http://bugzilla.slf4j.org/show_bug.cgi?id=289

--- Comment #4 from Robert Elliot <robert at teviotia.co.uk> ---
Assuming you're using Maven, declare a test scoped dependency on an
implementation and get the actual implementation's logger out in your unit
tests - it will have a method for setting levels on it.

You might want to consider slf4j-test -
http://projects.lidalia.org.uk/slf4j-test/ . Disclaimer - I wrote it!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20130904/68b5fb93/attachment.html>


More information about the slf4j-dev mailing list