org.apache.commons.logging.impl
public class SLF4JLocationAwareLog extends Object implements Log, Serializable
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.
| Field Summary | |
|---|---|
| protected String | name |
| Method Summary | |
|---|---|
| void | debug(Object message)
Converts the input parameter to String and then delegates to the wrapped
org.slf4j.Logger instance.
|
| void | debug(Object message, Throwable t)
Converts the first input parameter to String and then delegates to the
wrapped org.slf4j.Logger instance.
|
| void | error(Object message)
Converts the input parameter to String and then delegates to the wrapped
org.slf4j.Logger instance.
|
| void | error(Object message, Throwable t)
Converts the first input parameter to String and then delegates to the
wrapped org.slf4j.Logger instance.
|
| void | fatal(Object message)
Converts the input parameter to String and then delegates to the error
method of the wrapped org.slf4j.Logger instance.
|
| void | fatal(Object message, Throwable t)
Converts the first input parameter to String and then delegates to the
error method of the wrapped org.slf4j.Logger instance.
|
| void | info(Object message)
Converts the input parameter to String and then delegates to the wrapped
org.slf4j.Logger instance.
|
| void | info(Object message, Throwable t)
Converts the first input parameter to String and then delegates to the
wrapped org.slf4j.Logger instance.
|
| boolean | isDebugEnabled()
Directly delegates to the wrapped org.slf4j.Logger instance. |
| boolean | isErrorEnabled()
Directly delegates to the wrapped org.slf4j.Logger instance. |
| boolean | isFatalEnabled()
Delegates to the isErrorEnabled |
| boolean | isInfoEnabled()
Directly delegates to the wrapped org.slf4j.Logger instance. |
| boolean | isTraceEnabled()
Delegates to the isTraceEnabled |
| boolean | isWarnEnabled()
Directly delegates to the wrapped org.slf4j.Logger instance. |
| protected Object | readResolve()
Replace this instance with a homonymous (same name) logger returned by
LoggerFactory. |
| void | trace(Object message)
Converts the input parameter to String and then delegates to the debug
method of the wrapped org.slf4j.Logger instance.
|
| void | trace(Object message, Throwable t)
Converts the first input parameter to String and then delegates to the
debug method of the wrapped org.slf4j.Logger instance.
|
| void | warn(Object message)
Converts the input parameter to String and then delegates to the wrapped
org.slf4j.Logger instance.
|
| void | warn(Object message, Throwable t)
Converts the first input parameter to String and then delegates to the
wrapped org.slf4j.Logger instance.
|
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String t the exception to log
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String t the exception to log
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String t the exception to log
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String t the exception to log
org.slf4j.Logger instance.org.slf4j.Logger instance.isErrorEnabled method of the wrapped
org.slf4j.Logger instance.org.slf4j.Logger instance.isTraceEnabled method of the wrapped
org.slf4j.Logger instance.org.slf4j.Logger instance.Returns: logger with same name as returned by LoggerFactory
Throws: ObjectStreamException
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String t the exception to log
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String
org.slf4j.Logger instance.
Parameters: message the message to log. Converted to String t the exception to log