Package org.codehaus.mojo.exec
Class StreamLog
java.lang.Object
org.codehaus.mojo.exec.StreamLog
- All Implemented Interfaces:
org.apache.maven.plugin.logging.Log
a Simple Maven Log that outputs to a Stream
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddebug(CharSequence content) voiddebug(CharSequence content, Throwable error) voidvoiderror(CharSequence content) voiderror(CharSequence content, Throwable error) voidvoidinfo(CharSequence content) voidinfo(CharSequence content, Throwable error) voidbooleanbooleanbooleanbooleanvoidsetLevel(int level) voidwarn(CharSequence content) voidwarn(CharSequence content, Throwable error) void
-
Field Details
-
DEBUG
static final int DEBUG- See Also:
-
INFO
static final int INFO- See Also:
-
WARN
static final int WARN- See Also:
-
ERROR
static final int ERROR- See Also:
-
level
private int level -
s
-
-
Constructor Details
-
StreamLog
StreamLog(PrintStream s)
-
-
Method Details
-
setLevel
public void setLevel(int level) -
debug
- Specified by:
debugin interfaceorg.apache.maven.plugin.logging.Log
-
debug
- Specified by:
debugin interfaceorg.apache.maven.plugin.logging.Log
-
debug
- Specified by:
debugin interfaceorg.apache.maven.plugin.logging.Log
-
error
- Specified by:
errorin interfaceorg.apache.maven.plugin.logging.Log
-
error
- Specified by:
errorin interfaceorg.apache.maven.plugin.logging.Log
-
error
- Specified by:
errorin interfaceorg.apache.maven.plugin.logging.Log
-
info
- Specified by:
infoin interfaceorg.apache.maven.plugin.logging.Log
-
info
- Specified by:
infoin interfaceorg.apache.maven.plugin.logging.Log
-
info
- Specified by:
infoin interfaceorg.apache.maven.plugin.logging.Log
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
warn
- Specified by:
warnin interfaceorg.apache.maven.plugin.logging.Log
-
warn
- Specified by:
warnin interfaceorg.apache.maven.plugin.logging.Log
-
warn
- Specified by:
warnin interfaceorg.apache.maven.plugin.logging.Log
-