|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Log
Logging interface that is independent of other logging frameworks.
Field Summary | |
---|---|
static short |
ERROR
|
static short |
FATAL
|
static short |
INFO
|
static short |
TRACE
|
static short |
WARN
|
Method Summary | |
---|---|
void |
error(Object o)
Write out a log message at the 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 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 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 FATAL
level with the stringification of o as the body
of the message, also outputting t to the log. |
void |
info(Object o)
Write out a log message at the 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 INFO
level with the stringification of o as the body
of the message, also outputting t to the log. |
boolean |
isErrorEnabled()
Returns if the ERROR log level is enabled. |
boolean |
isFatalEnabled()
Returns if the FATAL log level is enabled. |
boolean |
isInfoEnabled()
Returns if the INFO log level is enabled. |
boolean |
isTraceEnabled()
Returns if the TRACE log level is enabled. |
boolean |
isWarnEnabled()
Returns if the WARN log level is enabled. |
void |
trace(Object o)
Write out a log message at the 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 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 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 WARN
level with the stringification of o as the body
of the message, also outputting t to the log. |
Field Detail |
---|
static final short TRACE
static final short INFO
static final short WARN
static final short ERROR
static final short FATAL
Method Detail |
---|
boolean isTraceEnabled()
TRACE
log level is enabled.
boolean isInfoEnabled()
INFO
log level is enabled.
boolean isWarnEnabled()
WARN
log level is enabled.
boolean isErrorEnabled()
ERROR
log level is enabled.
boolean isFatalEnabled()
FATAL
log level is enabled.
void trace(Object o)
TRACE
level with the stringification of o
as the body
of the message.
void trace(Object o, Throwable t)
TRACE
level with the stringification of o
as the body
of the message, also outputting t
to the log.
void info(Object o)
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)
INFO
level with the stringification of o
as the body
of the message, also outputting t
to the log.
void warn(Object o)
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)
WARN
level with the stringification of o
as the body
of the message, also outputting t
to the log.
void error(Object o)
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)
ERROR
level with the stringification of o
as the body
of the message, also outputting t
to the log.
void fatal(Object o)
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)
FATAL
level with the stringification of o
as the body
of the message, also outputting t
to the log.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation is deprecated and will be removed in the next release of WebLogic Server.