[slf4j-user] What about providing LoggerFactory.getLogger() method?
Trustin Lee
trustin at gmail.com
Wed Oct 26 01:43:52 CEST 2005
Hi,
Logging framework users usually creates a logger per-class basis like this:
class <ClassName> {
private static final Logger log = LoggerFactory.getLogger( <ClassName>.class
);
...
}
So it would be great if SLF4J provide LoggerFactory.getLogger() which
returns a Logger whose name is the same with the FQCN of the caller class.
It should be very easy in case of JDK 1.4 and be not that hard in JDK 1.2and
1.3, either. WDYT?
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20051026/88bb7708/attachment.html>
More information about the slf4j-user
mailing list