org.codehaus.cargo.util.log
Class SimpleLogger

java.lang.Object
  extended by org.codehaus.cargo.util.internal.log.AbstractLogger
      extended by org.codehaus.cargo.util.log.SimpleLogger
All Implemented Interfaces:
Logger

public class SimpleLogger
extends AbstractLogger

Simple implementation which sends log messages to the console (stdout).

Version:
$Id: SimpleLogger.java 1705 2008-09-02 13:14:55Z adriana $

Constructor Summary
SimpleLogger()
           
 
Method Summary
protected  void doLog(LogLevel level, String message, String category)
          Common method for all severity levels.
 
Methods inherited from class org.codehaus.cargo.util.internal.log.AbstractLogger
debug, getLevel, info, setLevel, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLogger

public SimpleLogger()
Method Detail

doLog

protected void doLog(LogLevel level,
                     String message,
                     String category)
Common method for all severity levels.

Specified by:
doLog in class AbstractLogger
Parameters:
level - the log level (aka severity) of the message
message - the message to log
category - the log category
See Also:
AbstractLogger.doLog(LogLevel, String, String)


Copyright © 2004-2012 Codehaus. All Rights Reserved.