|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DNotesMonitor
Interface to monitor notes threads.
Applications that use the domingo API can write an Adapter to the application specific logging or can use one of the build-in implementations of this interface.
Field Summary | |
---|---|
static int |
DEBUG
constant to indicate debug messages. |
static int |
DEFAULT_LEVEL
default monitoring level. |
static int |
ERROR
constant to indicate error messages. |
static int |
FATAL
constant to indicate fatal error messages. |
static int |
INFO
constant to indicate info messages. |
static int |
NONE
constant to indicate fatal error messages. |
static int |
WARN
constant to indicate warn messages. |
Method Summary | |
---|---|
void |
debug(java.lang.String message)
debug output. |
void |
debug(java.lang.String message,
java.lang.Throwable throwable)
debug output. |
void |
error(java.lang.String message)
error output. |
void |
error(java.lang.String message,
java.lang.Throwable throwable)
error output. |
void |
fatalError(java.lang.String message)
fatal error output. |
void |
fatalError(java.lang.String message,
java.lang.Throwable throwable)
fatal error output. |
void |
info(java.lang.String message)
info output. |
void |
info(java.lang.String message,
java.lang.Throwable throwable)
info output. |
boolean |
isDebugEnabled()
Checks if debug output is enabled or not. |
boolean |
isErrorEnabled()
Checks if error output is enabled or not. |
boolean |
isFatalErrorEnabled()
Checks if fatal error output is enabled or not. |
boolean |
isInfoEnabled()
Checks if info output is enabled or not. |
boolean |
isWarnEnabled()
Checks if warn output is enabled or not. |
void |
warn(java.lang.String message)
warn output. |
void |
warn(java.lang.String message,
java.lang.Throwable throwable)
warn output. |
Field Detail |
---|
static final int DEBUG
static final int INFO
static final int WARN
static final int ERROR
static final int FATAL
static final int NONE
static final int DEFAULT_LEVEL
Method Detail |
---|
void debug(java.lang.String message)
message
- the messagevoid debug(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwableboolean isDebugEnabled()
true
if enabled, else false
void info(java.lang.String message)
message
- the messagevoid info(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwableboolean isInfoEnabled()
true
if enabled, else false
void warn(java.lang.String message)
message
- the messagevoid warn(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwableboolean isWarnEnabled()
true
if enabled, else false
void error(java.lang.String message)
message
- the messagevoid error(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwableboolean isErrorEnabled()
true
if enabled, else false
void fatalError(java.lang.String message)
message
- the messagevoid fatalError(java.lang.String message, java.lang.Throwable throwable)
message
- the messagethrowable
- the throwableboolean isFatalErrorEnabled()
true
if enabled, else false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |