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 Summary
-
Method Summary
Modifier 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.void
removeAttribute
(String name) Deprecated.void
setAttribute
(String name, Object value) Deprecated.Methods inherited from class org.apache.commons.logging.LogFactory
getFactory, getLog, getLog, objectId, release, release, releaseAll
-
Constructor Details
-
LogFactoryService
public LogFactoryService()Deprecated.
-
-
Method Details
-
getInstance
Deprecated.Description copied from class:LogFactory
Convenience method to return a named logger.This variant just dispatches straight to
LogFactory.getLog(Class)
.- Overrides:
getInstance
in classLogFactory
- Parameters:
clazz
- containing Class from which a log name will be derived
-
getInstance
Deprecated.Description copied from class:LogFactory
Convenience method to return a named logger.This variant just dispatches straight to
LogFactory.getLog(String)
.- Overrides:
getInstance
in classLogFactory
- Parameters:
name
- logical name of theLog
instance to be returned
-
setAttribute
Deprecated.- Overrides:
setAttribute
in classLogFactory
-
removeAttribute
Deprecated.- Overrides:
removeAttribute
in classLogFactory
-
getAttribute
Deprecated.- Overrides:
getAttribute
in classLogFactory
-
getAttributeNames
Deprecated.- Overrides:
getAttributeNames
in classLogFactory
-