com.dynalivery.saffron.client
Class ConsoleLogService

java.lang.Object
  extended bycom.dynalivery.output.log.LogService
      extended bycom.dynalivery.saffron.client.ConsoleLogService

public class ConsoleLogService
extends com.dynalivery.output.log.LogService

This class implements a LogService that writes to the console


Field Summary
protected  int logLevel
           
 
Fields inherited from class com.dynalivery.output.log.LogService
LOG_DEFECT, LOG_FATAL, LOG_TRACE, LOG_WARNING
 
Constructor Summary
ConsoleLogService()
          Construct ConsoleLogService
ConsoleLogService(int _logLevel)
          Construct ConsoleLogService with specified logging level
 
Method Summary
static com.dynalivery.output.log.LogService getInstance()
          return an instance of the ConsoleLogService
 void log(int level, java.lang.String message, java.lang.String verboseMessage)
          Write a message to the ConsoleLogService
 
Methods inherited from class com.dynalivery.output.log.LogService
log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logLevel

protected int logLevel
Constructor Detail

ConsoleLogService

public ConsoleLogService()
Construct ConsoleLogService


ConsoleLogService

public ConsoleLogService(int _logLevel)
Construct ConsoleLogService with specified logging level

Parameters:
_logLevel -
Method Detail

getInstance

public static com.dynalivery.output.log.LogService getInstance()
return an instance of the ConsoleLogService


log

public void log(int level,
                java.lang.String message,
                java.lang.String verboseMessage)
Write a message to the ConsoleLogService

Parameters:
level -
message -
verboseMessage -