org.apache.maven.cli
Class PrintStreamLogger
java.lang.Object
org.codehaus.plexus.logging.AbstractLogger
org.apache.maven.cli.PrintStreamLogger
- All Implemented Interfaces:
- Logger
public class PrintStreamLogger
- extends AbstractLogger
Logs to a user-supplied PrintStream
.
- Author:
- Benjamin Bentmann
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 Logger getChildLogger(String arg0)
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.