http://bugzilla.slf4j.org/show_bug.cgi?id=147
--- Comment #1 from Ceki Gulcu <lis...@qos.ch> 2009-09-05 14:58:23 --- Two bits of information should answer your question. 1) A LocLogger *is* a Logger and can be used as such. 2) When you write Logger lx = LoggerFactory.getLogger("X"); LocLogger llx = llFactory.getLocLogger("X"); then "llx" is actually a wrapper around that very "lx". (llx wraps that very specific "lx"). So, if in a given class you are doing both regular and localized logging, the LocLogger is sufficient for both needs. However, it is possible that a class needs to do logging before it has a chance to get a handle on a LogLoggerFactory, in that case, a regular Logger would be used. -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dev mailing list dev@slf4j.org http://www.slf4j.org/mailman/listinfo/dev