toolbox.services.util.logging
Interface LoggingService

Package class diagram package LoggingService
All Known Implementing Classes:
LoggingServiceAsyncImpl, LoggingServiceCommonsLoggingImpl, LoggingServiceDbImpl, LoggingServiceStdOutImpl, LoggingServiceWSClientImpl, LoggingServiceXMLHttpClientImpl

public interface LoggingService

Interface that defines a logging service interface.


Method Summary
 void log(LogMessage message)
          Log the given message using the level set on the message.
 void logError(LogMessage message)
          Log the given message as an error (ERROR).
 void logFatal(LogMessage message)
          Log the given message as fatal (FATAL).
 void logInfo(LogMessage message)
          Log the given message as informational (INFO).
 void logWarning(LogMessage message)
          Log the given message as a warning (WARN).
 

Method Detail

logInfo

void logInfo(LogMessage message)
Log the given message as informational (INFO).

Parameters:
message - LogMessage to log.

logWarning

void logWarning(LogMessage message)
Log the given message as a warning (WARN).

Parameters:
message - LogMessage to log.

logError

void logError(LogMessage message)
Log the given message as an error (ERROR).

Parameters:
message - LogMessage to log.

logFatal

void logFatal(LogMessage message)
Log the given message as fatal (FATAL).

Parameters:
message - LogMessage to log.

log

void log(LogMessage message)
Log the given message using the level set on the message.

Parameters:
message - LogMessage to log.