@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 |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Deprecated.
|
java.lang.String[] |
getAttributeNames()
Deprecated.
|
Log |
getInstance(java.lang.Class<?> clazz)
Deprecated.
Convenience method to return a named logger.
|
Log |
getInstance(java.lang.String name)
Deprecated.
Convenience method to return a named logger.
|
void |
release()
Deprecated.
|
void |
removeAttribute(java.lang.String name)
Deprecated.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Deprecated.
|
getFactory, getLog, getLog
public Log getInstance(java.lang.Class<?> clazz)
LogFactory
This variant just dispatches straight to LogFactory.getLog(Class)
.
getInstance
in class LogFactory
clazz
- containing Class from which a log name will be derivedpublic Log getInstance(java.lang.String name)
LogFactory
This variant just dispatches straight to LogFactory.getLog(String)
.
getInstance
in class LogFactory
name
- logical name of the Log
instance to be returnedpublic void setAttribute(java.lang.String name, java.lang.Object value)
public void removeAttribute(java.lang.String name)
public java.lang.Object getAttribute(java.lang.String name)
public java.lang.String[] getAttributeNames()
public void release()