de.bea.domingo
Interface DNotesMonitor

All Known Implementing Classes:
AbstractDefaultMonitor, AbstractMonitor, AbstractStreamMonitor, ConsoleMonitor, FileMonitor, Jdk14LoggerMonitor, Log4jMonitor, LoggingMonitor, NullMonitor, WriterMonitor

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.

Author:
Kurt Riede

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

DEBUG

static final int DEBUG
constant to indicate debug messages.

See Also:
Constant Field Values

INFO

static final int INFO
constant to indicate info messages.

See Also:
Constant Field Values

WARN

static final int WARN
constant to indicate warn messages.

See Also:
Constant Field Values

ERROR

static final int ERROR
constant to indicate error messages.

See Also:
Constant Field Values

FATAL

static final int FATAL
constant to indicate fatal error messages.

See Also:
Constant Field Values

NONE

static final int NONE
constant to indicate fatal error messages.

See Also:
Constant Field Values

DEFAULT_LEVEL

static final int DEFAULT_LEVEL
default monitoring level.

See Also:
Constant Field Values
Method Detail

debug

void debug(java.lang.String message)
debug output.

Parameters:
message - the message

debug

void debug(java.lang.String message,
           java.lang.Throwable throwable)
debug output.

Parameters:
message - the message
throwable - the throwable

isDebugEnabled

boolean isDebugEnabled()
Checks if debug output is enabled or not.

Returns:
trueif enabled, else false

info

void info(java.lang.String message)
info output.

Parameters:
message - the message

info

void info(java.lang.String message,
          java.lang.Throwable throwable)
info output.

Parameters:
message - the message
throwable - the throwable

isInfoEnabled

boolean isInfoEnabled()
Checks if info output is enabled or not.

Returns:
trueif enabled, else false

warn

void warn(java.lang.String message)
warn output.

Parameters:
message - the message

warn

void warn(java.lang.String message,
          java.lang.Throwable throwable)
warn output.

Parameters:
message - the message
throwable - the throwable

isWarnEnabled

boolean isWarnEnabled()
Checks if warn output is enabled or not.

Returns:
trueif enabled, else false

error

void error(java.lang.String message)
error output.

Parameters:
message - the message

error

void error(java.lang.String message,
           java.lang.Throwable throwable)
error output.

Parameters:
message - the message
throwable - the throwable

isErrorEnabled

boolean isErrorEnabled()
Checks if error output is enabled or not.

Returns:
trueif enabled, else false

fatalError

void fatalError(java.lang.String message)
fatal error output.

Parameters:
message - the message

fatalError

void fatalError(java.lang.String message,
                java.lang.Throwable throwable)
fatal error output.

Parameters:
message - the message
throwable - the throwable

isFatalErrorEnabled

boolean isFatalErrorEnabled()
Checks if fatal error output is enabled or not.

Returns:
trueif enabled, else false


Domingo Java-API