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





--- Comment #20 from Joern Huxhorn <[email protected]>  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.
_______________________________________________
slf4j-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-dev

Reply via email to