Package org.apache.commons.logging
Class LogFactoryService
java.lang.Object
org.apache.commons.logging.LogFactory
org.apache.commons.logging.LogFactoryService
Deprecated.
since it is only meant to be used in the above-mentioned fallback scenario
A minimal subclass of the standard Apache Commons Logging's 
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.- Since:
- 5.1
- Author:
- Juergen Hoeller
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAttribute(String name) Deprecated.String[]Deprecated.getInstance(Class<?> clazz) Deprecated.Convenience method to return a named logger.getInstance(String name) Deprecated.Convenience method to return a named logger.voidrelease()Deprecated.voidremoveAttribute(String name) Deprecated.voidsetAttribute(String name, Object value) Deprecated.Methods inherited from class org.apache.commons.logging.LogFactorygetFactory, getLog, getLog, objectId, release, releaseAll
- 
Constructor Details- 
LogFactoryServicepublic LogFactoryService()Deprecated.
 
- 
- 
Method Details- 
getInstanceDeprecated.Description copied from class:LogFactoryConvenience method to return a named logger.This variant just dispatches straight to LogFactory.getLog(Class).- Overrides:
- getInstancein class- LogFactory
- Parameters:
- clazz- containing Class from which a log name will be derived
 
- 
getInstanceDeprecated.Description copied from class:LogFactoryConvenience method to return a named logger.This variant just dispatches straight to LogFactory.getLog(String).- Overrides:
- getInstancein class- LogFactory
- Parameters:
- name- logical name of the- Loginstance to be returned
 
- 
setAttributeDeprecated.- Specified by:
- setAttributein class- LogFactory
 
- 
removeAttributeDeprecated.- Specified by:
- removeAttributein class- LogFactory
 
- 
getAttributeDeprecated.- Specified by:
- getAttributein class- LogFactory
 
- 
getAttributeNamesDeprecated.- Specified by:
- getAttributeNamesin class- LogFactory
 
- 
releasepublic void release()Deprecated.- Specified by:
- releasein class- LogFactory
 
 
-