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





--- Comment #37 from Thorbjørn Ravn Andersen <[email protected]>  2010-04-02 
13:46:07 ---
(In reply to comment #36)

>   private @Inject Logger log;

I finally got this to work (the instructions are incorrect - it is the
weld-extensions that provides this).

The default is to use the name of the current class.  This can be overridden
with

> private @Inject @Category("foo") Logger log;

The LoggerFactory class and the Category class are at

http://anonsvn.jboss.org/repos/weld/extensions/trunk/src/main/java/org/jboss/weld/extensions/log/

and are about 10 lines of actual code each, and under the Apache license.  


-- 
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