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.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
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved. Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.