| 
 | ||||||||||
| 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(java.lang.Object o)Write out a log message at the ERRORlevel with the stringification ofoas the body
 of the message, also outputtingtto the log. | 
|  void | error(java.lang.Object o,
      java.lang.Throwable t)Write out a log message at the ERRORlevel with the stringification ofoas the body
 of the message, also outputtingtto the log. | 
|  void | fatal(java.lang.Object o)Write out a log message at the FATALlevel with the stringification ofoas the body
 of the message, also outputtingtto the log. | 
|  void | fatal(java.lang.Object o,
      java.lang.Throwable t)Write out a log message at the FATALlevel with the stringification ofoas the body
 of the message, also outputtingtto the log. | 
|  void | info(java.lang.Object o)Write out a log message at the INFOlevel with the stringification ofoas the body
 of the message, also outputtingtto the log. | 
|  void | info(java.lang.Object o,
     java.lang.Throwable t)Write out a log message at the INFOlevel with the stringification ofoas the body
 of the message, also outputtingtto the log. | 
|  boolean | isErrorEnabled()Returns if the ERRORlog level is enabled. | 
|  boolean | isFatalEnabled()Returns if the FATALlog level is enabled. | 
|  boolean | isInfoEnabled()Returns if the INFOlog level is enabled. | 
|  boolean | isTraceEnabled()Returns if the TRACElog level is enabled. | 
|  boolean | isWarnEnabled()Returns if the WARNlog level is enabled. | 
|  void | trace(java.lang.Object o)Write out a log message at the TRACElevel with the stringification ofoas the body
 of the message. | 
|  void | trace(java.lang.Object o,
      java.lang.Throwable t)Write out a log message at the TRACElevel with the stringification ofoas the body
 of the message, also outputtingtto the log. | 
|  void | warn(java.lang.Object o)Write out a log message at the WARNlevel with the stringification ofoas the body
 of the message, also outputtingtto the log. | 
|  void | warn(java.lang.Object o,
     java.lang.Throwable t)Write out a log message at the WARNlevel with the stringification ofoas the body
 of the message, also outputtingtto 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(java.lang.Object o)
TRACE
 level with the stringification of o as the body
 of the message.
void trace(java.lang.Object o,
           java.lang.Throwable t)
TRACE
 level with the stringification of o as the body
 of the message, also outputting t to the log.
void info(java.lang.Object o)
INFO
 level with the stringification of o as the body
 of the message, also outputting t to the log.
void info(java.lang.Object o,
          java.lang.Throwable t)
INFO
 level with the stringification of o as the body
 of the message, also outputting t to the log.
void warn(java.lang.Object o)
WARN
 level with the stringification of o as the body
 of the message, also outputting t to the log.
void warn(java.lang.Object o,
          java.lang.Throwable t)
WARN
 level with the stringification of o as the body
 of the message, also outputting t to the log.
void error(java.lang.Object o)
ERROR
 level with the stringification of o as the body
 of the message, also outputting t to the log.
void error(java.lang.Object o,
           java.lang.Throwable t)
ERROR
 level with the stringification of o as the body
 of the message, also outputting t to the log.
void fatal(java.lang.Object o)
FATAL
 level with the stringification of o as the body
 of the message, also outputting t to the log.
void fatal(java.lang.Object o,
           java.lang.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 | |||||||||