[slf4j-dev] [Bug 163] Copy & paste of LoggerFactory.getLogger
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Wed Mar 31 10:41:29 CEST 2010
http://bugzilla.slf4j.org/show_bug.cgi?id=163
--- Comment #33 from Ceki Gulcu <lists at slf4j.org> 2010-03-31 10:41:29 ---
As far as I know, dependency injection frameworks such as guice, spring and
weld already handle annotation based logger injection. I am sure there are
others. It seems more reasonable to let them deal with logger injection via
annotations.
Any approach SLF4J comes up with using the java language will entail either
byte code decoration or interfering with the lifecycle of objects. Both
approaches are too heavy handed imo.
In scala in contrast, this problem could be handled with a logging trait in a
single line of code as is done in scalate.
--
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