Posted By

ff1959 on 01/25/10


Tagged

java apache logging commons


Versions (?)

Snippet of Log,Logfactory declaration in class


 / Published in: Java
 

  1. import org.apache.commons.logging.Log;
  2. import org.apache.commons.logging.LogFactory;
  3.  
  4. /**
  5. * Logging facilities provided by Apache Commons Logging. When using log4j,
  6. * logging facilities are configured in the {@code log4j.properties} file,
  7. * which must be in the {@code CLASSPATH}.
  8. */
  9. private static final Log logger =
  10. LogFactory.getLog(CLASSNAME_HERE.class);

Report this snippet  

You need to login to post a comment.