[slf4j-dev] [Bug 163] Copy & paste of LoggerFactory.getLogger
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Tue Mar 30 12:46:47 CEST 2010
http://bugzilla.slf4j.org/show_bug.cgi?id=163
--- Comment #27 from Joern Huxhorn <joern at huxhorn.de> 2010-03-30 12:46:46 ---
I've implemented something related to suggestions in this ticket:
http://github.com/huxi/slf4j/blob/slf4j-redesign/slf4j-n-api/src/main/java/org/slf4j/n/SimpleLogging.java
Please take a look at the documentation of the class. I'm wondering if this
would be interesting despite the shortcomings.
http://github.com/huxi/slf4j/blob/slf4j-redesign/slf4j-n-api/src/test/java/org/slf4j/n/SimpleLoggingTest.java
contains some example usage, i.e. static import of the logging method and
simply calling
debug("Message: {}","Foo");
It *would* be extremely nice from the usage point-of-view... but it contains a
certain risk (as documented) as well as an unknown performance impact.
What do you think?
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list