@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 |
---|---|
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.
|
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 release()