toolbox.services.util.logging
Class LoggingServiceStdOutImpl

Package class diagram package LoggingServiceStdOutImpl
java.lang.Object
  extended by toolbox.services.util.logging.LoggingServiceStdOutImpl
All Implemented Interfaces:
LoggingService

public class LoggingServiceStdOutImpl
extends java.lang.Object
implements LoggingService

Simple implementation of LoggingService that outputs the LogMessage to standard output without formatting.


Constructor Summary
LoggingServiceStdOutImpl()
          Default constructor.
 
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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingServiceStdOutImpl

public LoggingServiceStdOutImpl()
Default constructor.

Method Detail

logInfo

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

Specified by:
logInfo in interface LoggingService
Parameters:
message - LogMessage to log.

logWarning

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

Specified by:
logWarning in interface LoggingService
Parameters:
message - LogMessage to log.

logError

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

Specified by:
logError in interface LoggingService
Parameters:
message - LogMessage to log.

logFatal

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

Specified by:
logFatal in interface LoggingService
Parameters:
message - LogMessage to log.

log

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

Specified by:
log in interface LoggingService
Parameters:
message - LogMessage to log.