Return to Snippet

Revision: 22872
at September 1, 2010 20:44 by ff1959


Updated Code
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

    	/**
	 * Logging facilities provided by Apache Commons Logging. When using log4j,
	 * logging facilities are configured in the {@code log4j.properties} file,
	 * which must be in the {@code CLASSPATH}.
	 */
	private static final Log logger =
			LogFactory.getLog(CLASSNAME_HERE.class);

Revision: 22871
at January 25, 2010 06:48 by ff1959


Initial Code
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

    /**
     * Logging facilities provided by Apache Commons Logging.
     * When using log4j, logging facilities are configured in the
     * log4j.properties file, which must be in the CLASSPATH.
     */
    private transient final Log logger = LogFactory.getLog(getClass());

Initial URL


Initial Description


Initial Title
Snippet of Log,Logfactory declaration in class

Initial Tags
java, apache

Initial Language
Java