|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.logging.impl.SLF4JLog
public class SLF4JLog
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.
| Field Summary | |
|---|---|
protected java.lang.String |
name
|
| Method Summary | |
|---|---|
void |
debug(java.lang.Object message)
Converts the input parameter to String and then delegates to the wrapped org.slf4j.Logger instance. |
void |
debug(java.lang.Object message,
java.lang.Throwable t)
Converts the first input parameter to String and then delegates to the wrapped org.slf4j.Logger instance. |
void |
error(java.lang.Object message)
Converts the input parameter to String and then delegates to the wrapped org.slf4j.Logger instance. |
void |
error(java.lang.Object message,
java.lang.Throwable t)
Converts the first input parameter to String and then delegates to the wrapped org.slf4j.Logger instance. |
void |
fatal(java.lang.Object message)
Converts the input parameter to String and then delegates to the error method of the wrapped org.slf4j.Logger instance. |
void |
fatal(java.lang.Object message,
java.lang.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(java.lang.Object message)
Converts the input parameter to String and then delegates to the wrapped org.slf4j.Logger instance. |
void |
info(java.lang.Object message,
java.lang.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 isDebugEnabled |
boolean |
isWarnEnabled()
Directly delegates to the wrapped org.slf4j.Logger instance. |
protected java.lang.Object |
readResolve()
Replace this instance with a homonymous (same name) logger returned by LoggerFactory. |
void |
trace(java.lang.Object message)
Converts the input parameter to String and then delegates to the debug method of the wrapped org.slf4j.Logger instance. |
void |
trace(java.lang.Object message,
java.lang.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(java.lang.Object message)
Converts the input parameter to String and then delegates to the wrapped org.slf4j.Logger instance. |
void |
warn(java.lang.Object message,
java.lang.Throwable t)
Converts the first input parameter to String and then delegates to the wrapped org.slf4j.Logger instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
| Method Detail |
|---|
public boolean isDebugEnabled()
org.slf4j.Logger instance.
isDebugEnabled in interface Logpublic boolean isErrorEnabled()
org.slf4j.Logger instance.
isErrorEnabled in interface Logpublic boolean isFatalEnabled()
isErrorEnabled method of the wrapped
org.slf4j.Logger instance.
- Specified by:
isFatalEnabled in interface Log
public boolean isInfoEnabled()
org.slf4j.Logger instance.
isInfoEnabled in interface Logpublic boolean isTraceEnabled()
isDebugEnabled method of the wrapped
org.slf4j.Logger instance.
- Specified by:
isTraceEnabled in interface Log
public boolean isWarnEnabled()
org.slf4j.Logger instance.
isWarnEnabled in interface Logpublic void trace(java.lang.Object message)
org.slf4j.Logger instance.
trace in interface Logmessage - the message to log. Converted to String
public void trace(java.lang.Object message,
java.lang.Throwable t)
org.slf4j.Logger instance.
trace in interface Logmessage - the message to log. Converted to Stringt - the exception to logpublic void debug(java.lang.Object message)
org.slf4j.Logger instance.
debug in interface Logmessage - the message to log. Converted to String
public void debug(java.lang.Object message,
java.lang.Throwable t)
org.slf4j.Logger instance.
debug in interface Logmessage - the message to log. Converted to Stringt - the exception to logpublic void info(java.lang.Object message)
org.slf4j.Logger instance.
info in interface Logmessage - the message to log. Converted to String
public void info(java.lang.Object message,
java.lang.Throwable t)
org.slf4j.Logger instance.
info in interface Logmessage - the message to log. Converted to Stringt - the exception to logpublic void warn(java.lang.Object message)
org.slf4j.Logger instance.
warn in interface Logmessage - the message to log. Converted to String
public void warn(java.lang.Object message,
java.lang.Throwable t)
org.slf4j.Logger instance.
warn in interface Logmessage - the message to log. Converted to Stringt - the exception to logpublic void error(java.lang.Object message)
org.slf4j.Logger instance.
error in interface Logmessage - the message to log. Converted to String
public void error(java.lang.Object message,
java.lang.Throwable t)
org.slf4j.Logger instance.
error in interface Logmessage - the message to log. Converted to Stringt - the exception to logpublic void fatal(java.lang.Object message)
org.slf4j.Logger instance.
fatal in interface Logmessage - the message to log. Converted to String
public void fatal(java.lang.Object message,
java.lang.Throwable t)
org.slf4j.Logger instance.
fatal in interface Logmessage - the message to log. Converted to Stringt - the exception to log
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||