org.codehaus.mojo.exec
Class StreamLog
java.lang.Object
  
org.codehaus.mojo.exec.StreamLog
- All Implemented Interfaces: 
 - org.apache.maven.plugin.logging.Log
 
 class StreamLog
- extends Object
- implements org.apache.maven.plugin.logging.Log
  
a Simple Maven Log that outputs to a Stream
| 
Field Summary | 
(package private) static int | 
DEBUG
 
            | 
(package private) static int | 
ERROR
 
            | 
(package private) static int | 
INFO
 
            | 
private  int | 
level
 
            | 
private  PrintStream | 
s
 
            | 
(package private) static int | 
WARN
 
            | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DEBUG
static final int DEBUG
- See Also:
 - Constant Field Values
 
INFO
static final int INFO
- See Also:
 - Constant Field Values
 
WARN
static final int WARN
- See Also:
 - Constant Field Values
 
ERROR
static final int ERROR
- See Also:
 - Constant Field Values
 
level
private int level
s
private final PrintStream s
StreamLog
StreamLog(PrintStream s)
setLevel
public void setLevel(int level)
 
 
debug
public void debug(CharSequence content)
- Specified by:
 debug in interface org.apache.maven.plugin.logging.Log
 
 
debug
public void debug(CharSequence content,
                  Throwable error)
- Specified by:
 debug in interface org.apache.maven.plugin.logging.Log
 
 
debug
public void debug(Throwable error)
- Specified by:
 debug in interface org.apache.maven.plugin.logging.Log
 
 
error
public void error(CharSequence content)
- Specified by:
 error in interface org.apache.maven.plugin.logging.Log
 
 
error
public void error(CharSequence content,
                  Throwable error)
- Specified by:
 error in interface org.apache.maven.plugin.logging.Log
 
 
error
public void error(Throwable error)
- Specified by:
 error in interface org.apache.maven.plugin.logging.Log
 
 
info
public void info(CharSequence content)
- Specified by:
 info in interface org.apache.maven.plugin.logging.Log
 
 
info
public void info(CharSequence content,
                 Throwable error)
- Specified by:
 info in interface org.apache.maven.plugin.logging.Log
 
 
info
public void info(Throwable error)
- Specified by:
 info in interface org.apache.maven.plugin.logging.Log
 
 
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
 isDebugEnabled in interface org.apache.maven.plugin.logging.Log
 
 
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
 isErrorEnabled in interface org.apache.maven.plugin.logging.Log
 
 
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
 isInfoEnabled in interface org.apache.maven.plugin.logging.Log
 
 
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
 isWarnEnabled in interface org.apache.maven.plugin.logging.Log
 
 
warn
public void warn(CharSequence content)
- Specified by:
 warn in interface org.apache.maven.plugin.logging.Log
 
 
warn
public void warn(CharSequence content,
                 Throwable error)
- Specified by:
 warn in interface org.apache.maven.plugin.logging.Log
 
 
warn
public void warn(Throwable error)
- Specified by:
 warn in interface org.apache.maven.plugin.logging.Log
 
 
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.