[slf4j-dev] [Bug 104] XLogger does not implement Logger
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Fri Sep 26 19:44:56 CEST 2008
http://bugzilla.slf4j.org/show_bug.cgi?id=104
--- Comment #3 from Ralph Goers <rgoers at apache.org> 2008-09-26 19:44:56 ---
It isn't quite as convenient because it isn't created by the factory. You
always have to do new XLogger(LoggerFactory.getLogger(name));. That, by itself,
isn't a big deal, although LoggerFactory.getXLogger(name) would be better.
My real concern is just that it is harder to maintain. If you decide to
implement what is being asked for in
http://marc.info/?l=slf4j-dev&m=122242476227014&w=2 then XLogger would also
have to be modified. I realize that you'd also have to modify the support for
JUL, Log4j, Logback and SimpleLogger as well, but it seems like a bunch of
extra work for little benefit. Coding LoggerUtil.enter(logger) just doesn't
seem that much more complicated than logger.enter();
--
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