org.codehaus.plexus.logging.console

Class ConsoleLogger

public final class ConsoleLogger extends AbstractLogger

Logger sending everything to the standard output streams. This is mainly for the cases when you have a utility that does not have a logger to supply.

Version: $Id: ConsoleLogger.java 4779 2006-11-23 04:09:31Z jvanzyl $

Author: Avalon Development Team

Constructor Summary
ConsoleLogger(int threshold, String name)
Method Summary
voiddebug(String message, Throwable throwable)
voiderror(String message, Throwable throwable)
voidfatalError(String message, Throwable throwable)
LoggergetChildLogger(String name)
voidinfo(String message, Throwable throwable)
voidwarn(String message, Throwable throwable)

Constructor Detail

ConsoleLogger

public ConsoleLogger(int threshold, String name)

Method Detail

debug

public void debug(String message, Throwable throwable)

error

public void error(String message, Throwable throwable)

fatalError

public void fatalError(String message, Throwable throwable)

getChildLogger

public Logger getChildLogger(String name)

info

public void info(String message, Throwable throwable)

warn

public void warn(String message, Throwable throwable)