[weld-issues] [JBoss JIRA] Created: (WELD-294) @Logger sample in Chapter 19 is incorrect

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Wed Nov 18 07:31:30 EST 2009


@Logger sample in Chapter 19 is incorrect
-----------------------------------------

                 Key: WELD-294
                 URL: https://jira.jboss.org/jira/browse/WELD-294
             Project: Weld
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 1.0.0.GA
            Reporter: Francisco Jose Peredo Noguez


In the Weld 1.0.0 documentation at 19.1. Weld Logger I can read this example:

import org.jboss.weld.annotation.Logger;
import org.jboss.weld.log.Log;
public class Checkout {
private @Inject @Logger Log log;
public void invoiceItems() {
ShoppingCart cart;
...
log.debug("Items invoiced for {0}", cart);
}
}

But there is no org.jboss.weld.log.Log class in Weld

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list