org.codehaus.plexus.logging.console
Class ConsoleLogger
java.lang.Object
org.codehaus.plexus.logging.AbstractLogger
org.codehaus.plexus.logging.console.ConsoleLogger
- All Implemented Interfaces:
- Logger
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$
- Author:
- Avalon Development Team
Methods inherited from class org.codehaus.plexus.logging.AbstractLogger |
debug, error, fatalError, getName, getThreshold, info, isDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isValidThreshold, isWarnEnabled, setThreshold, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleLogger
public ConsoleLogger(int threshold,
String name)
debug
public void debug(String message,
Throwable throwable)
info
public void info(String message,
Throwable throwable)
warn
public void warn(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)
Copyright © 2001–2014 Codehaus. All rights reserved.