Log4j
From Arnout Engelen
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class foo {
private static Log log = LogFactory.getLog(thisclassname.class);
{
log.info("ARN: visibility changes: " + visibilitychanges.size());
}
}
Kort:
private static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(CompositeCondition.class);
