org.exoplatform.maven.plugin.exec
Class StreamLog
java.lang.Object
org.exoplatform.maven.plugin.exec.StreamLog
- All Implemented Interfaces:
- org.apache.maven.plugin.logging.Log
public class StreamLog
- extends java.lang.Object
- implements org.apache.maven.plugin.logging.Log
a Simple Maven Log that outputs to a Stream
|
Constructor Summary |
StreamLog(java.io.PrintStream s)
|
|
Method Summary |
void |
debug(java.lang.CharSequence content)
|
void |
debug(java.lang.CharSequence content,
java.lang.Throwable error)
|
void |
debug(java.lang.Throwable error)
|
void |
error(java.lang.CharSequence content)
|
void |
error(java.lang.CharSequence content,
java.lang.Throwable error)
|
void |
error(java.lang.Throwable error)
|
void |
info(java.lang.CharSequence content)
|
void |
info(java.lang.CharSequence content,
java.lang.Throwable error)
|
void |
info(java.lang.Throwable error)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isWarnEnabled()
|
void |
setLevel(int level)
|
void |
warn(java.lang.CharSequence content)
|
void |
warn(java.lang.CharSequence content,
java.lang.Throwable error)
|
void |
warn(java.lang.Throwable error)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamLog
public StreamLog(java.io.PrintStream s)
setLevel
public void setLevel(int level)
debug
public void debug(java.lang.CharSequence content)
- Specified by:
debug in interface org.apache.maven.plugin.logging.Log
debug
public void debug(java.lang.CharSequence content,
java.lang.Throwable error)
- Specified by:
debug in interface org.apache.maven.plugin.logging.Log
debug
public void debug(java.lang.Throwable error)
- Specified by:
debug in interface org.apache.maven.plugin.logging.Log
error
public void error(java.lang.CharSequence content)
- Specified by:
error in interface org.apache.maven.plugin.logging.Log
error
public void error(java.lang.CharSequence content,
java.lang.Throwable error)
- Specified by:
error in interface org.apache.maven.plugin.logging.Log
error
public void error(java.lang.Throwable error)
- Specified by:
error in interface org.apache.maven.plugin.logging.Log
info
public void info(java.lang.CharSequence content)
- Specified by:
info in interface org.apache.maven.plugin.logging.Log
info
public void info(java.lang.CharSequence content,
java.lang.Throwable error)
- Specified by:
info in interface org.apache.maven.plugin.logging.Log
info
public void info(java.lang.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(java.lang.CharSequence content)
- Specified by:
warn in interface org.apache.maven.plugin.logging.Log
warn
public void warn(java.lang.CharSequence content,
java.lang.Throwable error)
- Specified by:
warn in interface org.apache.maven.plugin.logging.Log
warn
public void warn(java.lang.Throwable error)
- Specified by:
warn in interface org.apache.maven.plugin.logging.Log
Copyright © 2010 eXo Platform SAS. All Rights Reserved.