Package org.apache.commons.logging.impl
Class SLF4JLocationAwareLog
java.lang.Object
org.apache.commons.logging.impl.SLF4JLocationAwareLog
- All Implemented Interfaces:
- Serializable,- Log
Implementation of 
org.apache.commons.logging.Log interface which
 delegates all processing to a wrapped org.slf4j.Logger
 instance.
 
 JCL's FATAL level is mapped to ERROR. All other levels map one to one.
- Author:
- Ceki Gülcü
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidConverts the input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance.voidConverts the first input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance.voidConverts the input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance.voidConverts the first input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance.voidConverts the input parameter to String and then delegates to the error method of the wrappedorg.slf4j.Loggerinstance.voidConverts the first input parameter to String and then delegates to the error method of the wrappedorg.slf4j.Loggerinstance.voidConverts the input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance.voidConverts the first input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance.booleanDirectly delegates to the wrappedorg.slf4j.Loggerinstance.booleanDirectly delegates to the wrappedorg.slf4j.Loggerinstance.booleanDelegates to theisErrorEnabledmethod of the wrappedorg.slf4j.Loggerinstance.booleanDirectly delegates to the wrappedorg.slf4j.Loggerinstance.booleanDelegates to theisTraceEnabledmethod of the wrappedorg.slf4j.Loggerinstance.booleanDirectly delegates to the wrappedorg.slf4j.Loggerinstance.protected ObjectReplace this instance with a homonymous (same name) logger returned by LoggerFactory.voidConverts the input parameter to String and then delegates to the debug method of the wrappedorg.slf4j.Loggerinstance.voidConverts the first input parameter to String and then delegates to the debug method of the wrappedorg.slf4j.Loggerinstance.voidConverts the input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance.voidConverts the first input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance.
- 
Field Details- 
name
 
- 
- 
Constructor Details- 
SLF4JLocationAwareLog
 
- 
- 
Method Details- 
isTraceEnabledDelegates to theisTraceEnabledmethod of the wrappedorg.slf4j.Loggerinstance.- Specified by:
- isTraceEnabledin interface- Log
- Returns:
- true if trace enabled, false otherwise
 
- 
isDebugEnabledDirectly delegates to the wrappedorg.slf4j.Loggerinstance.- Specified by:
- isDebugEnabledin interface- Log
 
- 
isInfoEnabledDirectly delegates to the wrappedorg.slf4j.Loggerinstance.- Specified by:
- isInfoEnabledin interface- Log
- Returns:
- true if info enabled, false otherwise
 
- 
isWarnEnabledDirectly delegates to the wrappedorg.slf4j.Loggerinstance.- Specified by:
- isWarnEnabledin interface- Log
 
- 
isErrorEnabledDirectly delegates to the wrappedorg.slf4j.Loggerinstance.- Specified by:
- isErrorEnabledin interface- Log
 
- 
isFatalEnabledDelegates to theisErrorEnabledmethod of the wrappedorg.slf4j.Loggerinstance.- Specified by:
- isFatalEnabledin interface- Log
 
- 
trace
- 
trace
- 
debug
- 
debug
- 
info
- 
info
- 
warn
- 
warn
- 
error
- 
error
- 
fatal
- 
fatal
- 
readResolveReplace this instance with a homonymous (same name) logger returned by LoggerFactory. Note that this method is only called during deserialization.- Returns:
- logger with same name as returned by LoggerFactory
- Throws:
- ObjectStreamException
 
 
-