|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.log.SLF4JLogFactory.LogAdapter
public static class SLF4JLogFactory.LogAdapter
Adapts a Log4J logger to the Log
interface.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.lib.log.Log |
---|
ERROR, FATAL, INFO, TRACE, WARN |
Method Summary | |
---|---|
void |
debug(Object o)
|
void |
debug(Object o,
Throwable t)
|
void |
error(Object o)
Write out a log message at the Log.ERROR
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
error(Object o,
Throwable t)
Write out a log message at the Log.ERROR
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
fatal(Object o)
Write out a log message at the Log.FATAL
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
fatal(Object o,
Throwable t)
Write out a log message at the Log.FATAL
level with the stringification of o as the body
of the message, also outputting t to the log. |
org.slf4j.Logger |
getDelegate()
|
void |
info(Object o)
Write out a log message at the Log.INFO
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
info(Object o,
Throwable t)
Write out a log message at the Log.INFO
level with the stringification of o as the body
of the message, also outputting t to the log. |
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
Returns if the Log.ERROR log level is enabled. |
boolean |
isFatalEnabled()
Returns if the Log.FATAL log level is enabled. |
boolean |
isInfoEnabled()
Returns if the Log.INFO log level is enabled. |
boolean |
isTraceEnabled()
Returns if the Log.TRACE log level is enabled. |
boolean |
isWarnEnabled()
Returns if the Log.WARN log level is enabled. |
void |
trace(Object o)
Write out a log message at the Log.TRACE
level with the stringification of o as the body
of the message. |
void |
trace(Object o,
Throwable t)
Write out a log message at the Log.TRACE
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
warn(Object o)
Write out a log message at the Log.WARN
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
warn(Object o,
Throwable t)
Write out a log message at the Log.WARN
level with the stringification of o as the body
of the message, also outputting t to the log. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public org.slf4j.Logger getDelegate()
public boolean isTraceEnabled()
Log
Log.TRACE
log level is enabled.
isTraceEnabled
in interface Log
public boolean isDebugEnabled()
public boolean isInfoEnabled()
Log
Log.INFO
log level is enabled.
isInfoEnabled
in interface Log
public boolean isWarnEnabled()
Log
Log.WARN
log level is enabled.
isWarnEnabled
in interface Log
public boolean isErrorEnabled()
Log
Log.ERROR
log level is enabled.
isErrorEnabled
in interface Log
public boolean isFatalEnabled()
Log
Log.FATAL
log level is enabled.
isFatalEnabled
in interface Log
public void trace(Object o)
Log
Log.TRACE
level with the stringification of o
as the body
of the message.
trace
in interface Log
public void trace(Object o, Throwable t)
Log
Log.TRACE
level with the stringification of o
as the body
of the message, also outputting t
to the log.
trace
in interface Log
public void debug(Object o)
public void debug(Object o, Throwable t)
public void info(Object o)
Log
Log.INFO
level with the stringification of o
as the body
of the message, also outputting t
to the log.
info
in interface Log
public void info(Object o, Throwable t)
Log
Log.INFO
level with the stringification of o
as the body
of the message, also outputting t
to the log.
info
in interface Log
public void warn(Object o)
Log
Log.WARN
level with the stringification of o
as the body
of the message, also outputting t
to the log.
warn
in interface Log
public void warn(Object o, Throwable t)
Log
Log.WARN
level with the stringification of o
as the body
of the message, also outputting t
to the log.
warn
in interface Log
public void error(Object o)
Log
Log.ERROR
level with the stringification of o
as the body
of the message, also outputting t
to the log.
error
in interface Log
public void error(Object o, Throwable t)
Log
Log.ERROR
level with the stringification of o
as the body
of the message, also outputting t
to the log.
error
in interface Log
public void fatal(Object o)
Log
Log.FATAL
level with the stringification of o
as the body
of the message, also outputting t
to the log.
fatal
in interface Log
public void fatal(Object o, Throwable t)
Log
Log.FATAL
level with the stringification of o
as the body
of the message, also outputting t
to the log.
fatal
in interface Log
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |