@Deprecated public class LogFactoryService extends LogFactory
LogFactory class,
overriding the abstract getInstance lookup methods. This is just applied in
case of the standard commons-logging jar accidentally ending up on the classpath,
with the standard LogFactory class performing its META-INF service discovery.
This implementation simply delegates to Spring's common Log factory methods.| Constructor and Description |
|---|
LogFactoryService()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Deprecated.
|
String[] |
getAttributeNames()
Deprecated.
|
Log |
getInstance(Class<?> clazz)
Deprecated.
Convenience method to return a named logger.
|
Log |
getInstance(String name)
Deprecated.
Convenience method to return a named logger.
|
void |
release()
Deprecated.
|
void |
removeAttribute(String name)
Deprecated.
|
void |
setAttribute(String name,
Object value)
Deprecated.
|
getFactory, getLog, getLogpublic Log getInstance(Class<?> clazz)
LogFactoryThis variant just dispatches straight to LogFactory.getLog(Class).
getInstance in class LogFactoryclazz - containing Class from which a log name will be derivedpublic Log getInstance(String name)
LogFactoryThis variant just dispatches straight to LogFactory.getLog(String).
getInstance in class LogFactoryname - logical name of the Log instance to be returnedpublic void removeAttribute(String name)
public String[] getAttributeNames()
public void release()