|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.logging.LogFactory
org.apache.logging.log4j.jcl.LogFactoryImpl
public class LogFactoryImpl
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
LogFactoryImpl()
|
Method Summary | |
---|---|
Object |
getAttribute(String name)
|
String[] |
getAttributeNames()
|
org.apache.commons.logging.Log |
getInstance(Class clazz)
|
org.apache.commons.logging.Log |
getInstance(String name)
|
void |
release()
This method is supposed to clear all loggers. |
void |
removeAttribute(String name)
|
void |
setAttribute(String name,
Object value)
|
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 |
Constructor Detail |
---|
public LogFactoryImpl()
Method Detail |
---|
public org.apache.commons.logging.Log getInstance(String name) throws org.apache.commons.logging.LogConfigurationException
getInstance
in class org.apache.commons.logging.LogFactory
org.apache.commons.logging.LogConfigurationException
public Object getAttribute(String name)
getAttribute
in class org.apache.commons.logging.LogFactory
public String[] getAttributeNames()
getAttributeNames
in class org.apache.commons.logging.LogFactory
public org.apache.commons.logging.Log getInstance(Class clazz) throws org.apache.commons.logging.LogConfigurationException
getInstance
in class org.apache.commons.logging.LogFactory
org.apache.commons.logging.LogConfigurationException
public void release()
release
in class org.apache.commons.logging.LogFactory
public void removeAttribute(String name)
removeAttribute
in class org.apache.commons.logging.LogFactory
public void setAttribute(String name, Object value)
setAttribute
in class org.apache.commons.logging.LogFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |