public interface DNotesMonitor
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.
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message)
debug output.
|
void |
debug(String message,
Throwable throwable)
debug output.
|
void |
error(String message)
error output.
|
void |
error(String message,
Throwable throwable)
error output.
|
void |
fatalError(String message)
fatal error output.
|
void |
fatalError(String message,
Throwable throwable)
fatal error output.
|
void |
info(String message)
info output.
|
void |
info(String message,
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(String message)
warn output.
|
void |
warn(String message,
Throwable throwable)
warn output.
|
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
void debug(String message)
message - the messagevoid debug(String message, Throwable throwable)
message - the messagethrowable - the throwableboolean isDebugEnabled()
trueif enabled, else falsevoid info(String message)
message - the messagevoid info(String message, Throwable throwable)
message - the messagethrowable - the throwableboolean isInfoEnabled()
trueif enabled, else falsevoid warn(String message)
message - the messagevoid warn(String message, Throwable throwable)
message - the messagethrowable - the throwableboolean isWarnEnabled()
trueif enabled, else falsevoid error(String message)
message - the messagevoid error(String message, Throwable throwable)
message - the messagethrowable - the throwableboolean isErrorEnabled()
trueif enabled, else falsevoid fatalError(String message)
message - the messagevoid fatalError(String message, Throwable throwable)
message - the messagethrowable - the throwableboolean isFatalErrorEnabled()
trueif enabled, else falseCopyright © 2005–2020. All rights reserved.