[slf4j-dev] [Bug 163] Copy & paste of LoggerFactory.getLogger

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue Dec 15 17:12:16 CET 2009


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





--- Comment #14 from Thorbjørn Ravn Andersen <thorbjoern at gmail.com>  2009-12-15 17:12:16 ---
The advantage of explicitly stating the class to be used as the logger name is
the robustness of the code.  Anything that magically pulls out a piece of
information from the JVM without explicitly being guaranteed by Sun to be
available *everywhere* is prone to break whenever it is the most inconvenient.

Hence, I advocate for the current explicit glue (which is templateable).  I'd
like a shorter way of writing it though, as it has problems staying on a single
source line.


-- 
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