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.- Author:
- Avalon Development Team
-
-
Field Summary
-
Fields inherited from interface org.codehaus.plexus.logging.Logger
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN
-
-
Constructor Summary
Constructors Constructor Description ConsoleLogger(int threshold, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(String message, Throwable throwable)
void
error(String message, Throwable throwable)
void
fatalError(String message, Throwable throwable)
Logger
getChildLogger(String name)
void
info(String message, Throwable throwable)
void
warn(String message, Throwable throwable)
-
Methods inherited from class org.codehaus.plexus.logging.AbstractLogger
debug, error, fatalError, getName, getThreshold, info, isDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isValidThreshold, isWarnEnabled, setThreshold, warn
-
-
-
-
Constructor Detail
-
ConsoleLogger
public ConsoleLogger(int threshold, String name)
-
-