public class LogFactoryImpl
extends org.apache.commons.logging.LogFactory
Constructor | Description |
---|---|
LogFactoryImpl() |
Modifier and Type | Method | 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 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
Copyright © 1999-2018. 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.