The point of this is to get rid of crap like:
private static final Log log = LogFactory.getLog(Customer.class);
if ( log.isDebugEnabled() ) {
| log.debug("deleting customer " + customer.getName() + " in region " +
customer.getRegion());
| }
And let you use:
@Logger private static final Log log;
log.debug("deleting customer #{customer.name} in region #{customer.region}");
| }
I don't know about you, but I think thats a *significant* improvement in
readability.
I don't think we did a bad job on this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012756#4012756
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012756
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user