
15 Dec
2009
15 Dec
'09
5:29 p.m.
http://bugzilla.slf4j.org/show_bug.cgi?id=163 --- Comment #20 from Joern Huxhorn <joern@huxhorn.de> 2009-12-15 18:29:04 --- I agree with Ceki. The getEnclosingLogger(..) syntax is quite strange. You could always use LoggerFactory.getLogger(new Object(){}.getClass().getEnclosingClass()); as you said yourself. Changing the topic a bit: Does anyone know enough about annotations to be able to tell me if something like @Logger private final Logger logger; would be able to initialize logger appropriately? I've never written an annotation myself so I don't know. -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.