org.apache.maven.cli
Class PrintStreamLogger
java.lang.Object
org.codehaus.plexus.logging.AbstractLogger
org.apache.maven.cli.PrintStreamLogger
- All Implemented Interfaces:
- org.codehaus.plexus.logging.Logger
public class PrintStreamLogger
- extends org.codehaus.plexus.logging.AbstractLogger
Logs to a user-supplied PrintStream
.
- Author:
- Benjamin Bentmann
Fields inherited from interface org.codehaus.plexus.logging.Logger |
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogger |
debug, error, fatalError, getName, getThreshold, info, isDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isWarnEnabled, setThreshold, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintStreamLogger
public PrintStreamLogger(org.apache.maven.cli.PrintStreamLogger.Provider provider)
PrintStreamLogger
public PrintStreamLogger(PrintStream out)
setStream
public void setStream(PrintStream out)
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)
close
public void close()
getChildLogger
public org.codehaus.plexus.logging.Logger getChildLogger(String arg0)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.