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.
- See Also:
-
Method Summary
Modifier 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.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.
-
Method Details
-
isTraceEnabled
public boolean isTraceEnabled()Delegates to theisTraceEnabledmethod of the wrappedorg.slf4j.Loggerinstance.- Specified by:
isTraceEnabledin interfaceLog- Returns:
- true if trace enabled, false otherwise
-
isDebugEnabled
public boolean isDebugEnabled()Directly delegates to the wrappedorg.slf4j.Loggerinstance.- Specified by:
isDebugEnabledin interfaceLog
-
isInfoEnabled
public boolean isInfoEnabled()Directly delegates to the wrappedorg.slf4j.Loggerinstance.- Specified by:
isInfoEnabledin interfaceLog- Returns:
- true if info enabled, false otherwise
-
isWarnEnabled
public boolean isWarnEnabled()Directly delegates to the wrappedorg.slf4j.Loggerinstance.- Specified by:
isWarnEnabledin interfaceLog
-
isErrorEnabled
public boolean isErrorEnabled()Directly delegates to the wrappedorg.slf4j.Loggerinstance.- Specified by:
isErrorEnabledin interfaceLog
-
isFatalEnabled
public boolean isFatalEnabled()Delegates to theisErrorEnabledmethod of the wrappedorg.slf4j.Loggerinstance.- Specified by:
isFatalEnabledin interfaceLog
-
trace
Converts the input parameter to String and then delegates to the debug method of the wrappedorg.slf4j.Loggerinstance. -
trace
Converts the first input parameter to String and then delegates to the debug method of the wrappedorg.slf4j.Loggerinstance. -
debug
Converts the input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance. -
debug
Converts the first input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance. -
info
Converts the input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance. -
info
Converts the first input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance. -
warn
Converts the input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance. -
warn
Converts the first input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance. -
error
Converts the input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance. -
error
Converts the first input parameter to String and then delegates to the wrappedorg.slf4j.Loggerinstance. -
fatal
Converts the input parameter to String and then delegates to the error method of the wrappedorg.slf4j.Loggerinstance. -
fatal
Converts the first input parameter to String and then delegates to the error method of the wrappedorg.slf4j.Loggerinstance.
-