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 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)-
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)
-
-