org.codehaus.mojo.tomcat.log
Class MavenLogFactory
java.lang.Object
org.apache.commons.logging.LogFactory
org.codehaus.mojo.tomcat.log.MavenLogFactory
public class MavenLogFactory
- extends org.apache.commons.logging.LogFactory
A JCL log factory implementation that delegates to a Maven log.
The Maven log that logs produced by this class delegate to is configured by setting the log factory attribute
maven.log
.
- Author:
- Mark Hobson
Fields inherited from class org.apache.commons.logging.LogFactory |
DIAGNOSTICS_DEST_PROPERTY, factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, HASHTABLE_IMPLEMENTATION_PROPERTY, nullClassLoaderFactory, PRIORITY_KEY, SERVICE_ID, TCCL_KEY |
Methods inherited from class org.apache.commons.logging.LogFactory |
createFactory, directGetContextClassLoader, getClassLoader, getContextClassLoader, getFactory, getLog, getLog, isDiagnosticsEnabled, logRawDiagnostic, newFactory, newFactory, objectId, release, releaseAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenLogFactory
public MavenLogFactory()
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute
in class org.apache.commons.logging.LogFactory
getAttributeNames
public java.lang.String[] getAttributeNames()
- Specified by:
getAttributeNames
in class org.apache.commons.logging.LogFactory
getInstance
public org.apache.commons.logging.Log getInstance(java.lang.Class clazz)
throws org.apache.commons.logging.LogConfigurationException
- Specified by:
getInstance
in class org.apache.commons.logging.LogFactory
- Throws:
org.apache.commons.logging.LogConfigurationException
getInstance
public org.apache.commons.logging.Log getInstance(java.lang.String name)
throws org.apache.commons.logging.LogConfigurationException
- Specified by:
getInstance
in class org.apache.commons.logging.LogFactory
- Throws:
org.apache.commons.logging.LogConfigurationException
release
public void release()
- Specified by:
release
in class org.apache.commons.logging.LogFactory
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute
in class org.apache.commons.logging.LogFactory
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute
in class org.apache.commons.logging.LogFactory
Copyright © 2005-2010. All Rights Reserved.