|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A logger used by Invoker instances to output diagnostic messages.
Invoker.setLogger(InvokerLogger)| Field Summary | |
static int |
DEBUG
The threshold for debug output. |
static int |
ERROR
The threshold for error output. |
static int |
FATAL
The threshold for fatal error output. |
static int |
INFO
The threshold for info output. |
static int |
WARN
The threshold for warn output. |
| Method Summary | |
void |
debug(java.lang.String message)
Logs the specified debug message. |
void |
debug(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified debug message and the accompanying exception. |
void |
error(java.lang.String message)
Logs the specified error message. |
void |
error(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified error message and the accompanying exception. |
void |
fatalError(java.lang.String message)
Logs the specified fatal error message. |
void |
fatalError(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified fatal error message and the accompanying exception. |
int |
getThreshold()
Gets the logger's threshold. |
void |
info(java.lang.String message)
Logs the specified info message. |
void |
info(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified info message and the accompanying exception. |
boolean |
isDebugEnabled()
Tests whether debug output is enabled for this logger. |
boolean |
isErrorEnabled()
Tests whether error output is enabled for this logger. |
boolean |
isFatalErrorEnabled()
Tests whether fatal error output is enabled for this logger. |
boolean |
isInfoEnabled()
Tests whether info output is enabled for this logger. |
boolean |
isWarnEnabled()
Tests whether warn output is enabled for this logger. |
void |
setThreshold(int threshold)
Sets the logger's threshold. |
void |
warn(java.lang.String message)
Logs the specified warning message. |
void |
warn(java.lang.String message,
java.lang.Throwable throwable)
Logs the specified warning message and the accompanying exception. |
| Field Detail |
public static final int DEBUG
public static final int INFO
public static final int WARN
public static final int ERROR
public static final int FATAL
| Method Detail |
public void debug(java.lang.String message)
message - The message to log, may be null.
public void debug(java.lang.String message,
java.lang.Throwable throwable)
message - The message to log, may be null.throwable - The exception to log, may be null.public boolean isDebugEnabled()
true if messages with priority "debug" or above are logged, false
otherwise.public void info(java.lang.String message)
message - The message to log, may be null.
public void info(java.lang.String message,
java.lang.Throwable throwable)
message - The message to log, may be null.throwable - The exception to log, may be null.public boolean isInfoEnabled()
true if messages with priority "info" or above are logged, false otherwise.public void warn(java.lang.String message)
message - The message to log, may be null.
public void warn(java.lang.String message,
java.lang.Throwable throwable)
message - The message to log, may be null.throwable - The exception to log, may be null.public boolean isWarnEnabled()
true if messages with priority "warn" or above are logged, false otherwise.public void error(java.lang.String message)
message - The message to log, may be null.
public void error(java.lang.String message,
java.lang.Throwable throwable)
message - The message to log, may be null.throwable - The exception to log, may be null.public boolean isErrorEnabled()
true if messages with priority "error" or above are logged, false
otherwise.public void fatalError(java.lang.String message)
message - The message to log, may be null.
public void fatalError(java.lang.String message,
java.lang.Throwable throwable)
message - The message to log, may be null.throwable - The exception to log, may be null.public boolean isFatalErrorEnabled()
true if messages with priority "fatal" or above are logged, false
otherwise.public void setThreshold(int threshold)
threshold - The logger's threshold, must be one of DEBUG, INFO, WARN,
ERROR and FATAL.public int getThreshold()
DEBUG, INFO, WARN, ERROR and
FATAL.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||