public class LogFactoryImpl extends org.apache.commons.logging.LogFactory
| Constructor and Description |
|---|
LogFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public LogFactoryImpl()
public org.apache.commons.logging.Log getInstance(String name) throws org.apache.commons.logging.LogConfigurationException
getInstance in class org.apache.commons.logging.LogFactoryorg.apache.commons.logging.LogConfigurationExceptionpublic Object getAttribute(String name)
getAttribute in class org.apache.commons.logging.LogFactorypublic String[] getAttributeNames()
getAttributeNames in class org.apache.commons.logging.LogFactorypublic org.apache.commons.logging.Log getInstance(Class clazz) throws org.apache.commons.logging.LogConfigurationException
getInstance in class org.apache.commons.logging.LogFactoryorg.apache.commons.logging.LogConfigurationExceptionpublic void release()
release in class org.apache.commons.logging.LogFactorypublic void removeAttribute(String name)
removeAttribute in class org.apache.commons.logging.LogFactorypublic void setAttribute(String name, Object value)
setAttribute in class org.apache.commons.logging.LogFactoryCopyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.