|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.testing.SilentLog
public class SilentLog
This logger implements both types of logs currently in use. It can be injected where needed to turn off logs during testing where they aren't desired.
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.plexus.logging.Logger |
|---|
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN |
| Constructor Summary | |
|---|---|
SilentLog()
|
|
| Method Summary | |
|---|---|
void |
debug(java.lang.CharSequence content)
By default, do nothing. |
void |
debug(java.lang.CharSequence content,
java.lang.Throwable error)
By default, do nothing. |
void |
debug(java.lang.String message)
By default, do nothing. |
void |
debug(java.lang.String message,
java.lang.Throwable throwable)
By default, do nothing. |
void |
debug(java.lang.Throwable error)
By default, do nothing. |
void |
error(java.lang.CharSequence content)
By default, do nothing. |
void |
error(java.lang.CharSequence content,
java.lang.Throwable error)
By default, do nothing. |
void |
error(java.lang.String message)
By default, do nothing. |
void |
error(java.lang.String message,
java.lang.Throwable throwable)
By default, do nothing. |
void |
error(java.lang.Throwable error)
By default, do nothing. |
void |
fatalError(java.lang.String message)
By default, do nothing. |
void |
fatalError(java.lang.String message,
java.lang.Throwable throwable)
By default, do nothing. |
org.codehaus.plexus.logging.Logger |
getChildLogger(java.lang.String name)
|
java.lang.String |
getName()
|
int |
getThreshold()
|
void |
info(java.lang.CharSequence content)
By default, do nothing. |
void |
info(java.lang.CharSequence content,
java.lang.Throwable error)
By default, do nothing. |
void |
info(java.lang.String message)
By default, do nothing. |
void |
info(java.lang.String message,
java.lang.Throwable throwable)
By default, do nothing. |
void |
info(java.lang.Throwable error)
By default, do nothing. |
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isFatalErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isWarnEnabled()
By default, do nothing. |
void |
setThreshold(int threshold)
|
void |
warn(java.lang.CharSequence content)
By default, do nothing. |
void |
warn(java.lang.CharSequence content,
java.lang.Throwable error)
By default, do nothing. |
void |
warn(java.lang.String message)
By default, do nothing. |
void |
warn(java.lang.String message,
java.lang.Throwable throwable)
By default, do nothing. |
void |
warn(java.lang.Throwable error)
By default, do nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SilentLog()
| Method Detail |
|---|
public boolean isDebugEnabled()
isDebugEnabled in interface org.apache.maven.plugin.logging.LogisDebugEnabled in interface org.codehaus.plexus.logging.LoggerfalseLog.isDebugEnabled()public void debug(java.lang.CharSequence content)
debug in interface org.apache.maven.plugin.logging.LogLog.debug(java.lang.CharSequence)
public void debug(java.lang.CharSequence content,
java.lang.Throwable error)
debug in interface org.apache.maven.plugin.logging.LogLog.debug(java.lang.CharSequence, java.lang.Throwable)public void debug(java.lang.Throwable error)
debug in interface org.apache.maven.plugin.logging.LogLog.debug(java.lang.Throwable)public boolean isInfoEnabled()
isInfoEnabled in interface org.apache.maven.plugin.logging.LogisInfoEnabled in interface org.codehaus.plexus.logging.LoggerfalseLog.isInfoEnabled()public void info(java.lang.CharSequence content)
info in interface org.apache.maven.plugin.logging.LogLog.info(java.lang.CharSequence)
public void info(java.lang.CharSequence content,
java.lang.Throwable error)
info in interface org.apache.maven.plugin.logging.LogLog.info(java.lang.CharSequence, java.lang.Throwable)public void info(java.lang.Throwable error)
info in interface org.apache.maven.plugin.logging.LogLog.info(java.lang.Throwable)public boolean isWarnEnabled()
isWarnEnabled in interface org.apache.maven.plugin.logging.LogisWarnEnabled in interface org.codehaus.plexus.logging.LoggerLog.isWarnEnabled()public void warn(java.lang.CharSequence content)
warn in interface org.apache.maven.plugin.logging.LogLog.warn(java.lang.CharSequence)
public void warn(java.lang.CharSequence content,
java.lang.Throwable error)
warn in interface org.apache.maven.plugin.logging.LogLog.warn(java.lang.CharSequence, java.lang.Throwable)public void warn(java.lang.Throwable error)
warn in interface org.apache.maven.plugin.logging.LogLog.warn(java.lang.Throwable)public boolean isErrorEnabled()
isErrorEnabled in interface org.apache.maven.plugin.logging.LogisErrorEnabled in interface org.codehaus.plexus.logging.LoggerfalseLog.isErrorEnabled()public void error(java.lang.CharSequence content)
error in interface org.apache.maven.plugin.logging.LogLog.error(java.lang.CharSequence)
public void error(java.lang.CharSequence content,
java.lang.Throwable error)
error in interface org.apache.maven.plugin.logging.LogLog.error(java.lang.CharSequence, java.lang.Throwable)public void error(java.lang.Throwable error)
error in interface org.apache.maven.plugin.logging.LogLog.error(java.lang.Throwable)public void debug(java.lang.String message)
debug in interface org.codehaus.plexus.logging.LoggerLogger.debug(java.lang.String)
public void debug(java.lang.String message,
java.lang.Throwable throwable)
debug in interface org.codehaus.plexus.logging.LoggerLogger.debug(java.lang.String, java.lang.Throwable)public void info(java.lang.String message)
info in interface org.codehaus.plexus.logging.LoggerLogger.info(java.lang.String)
public void info(java.lang.String message,
java.lang.Throwable throwable)
info in interface org.codehaus.plexus.logging.LoggerLogger.info(java.lang.String, java.lang.Throwable)public void warn(java.lang.String message)
warn in interface org.codehaus.plexus.logging.LoggerLogger.warn(java.lang.String)
public void warn(java.lang.String message,
java.lang.Throwable throwable)
warn in interface org.codehaus.plexus.logging.LoggerLogger.warn(java.lang.String, java.lang.Throwable)public void error(java.lang.String message)
error in interface org.codehaus.plexus.logging.LoggerLogger.error(java.lang.String)
public void error(java.lang.String message,
java.lang.Throwable throwable)
error in interface org.codehaus.plexus.logging.LoggerLogger.error(java.lang.String, java.lang.Throwable)public void fatalError(java.lang.String message)
fatalError in interface org.codehaus.plexus.logging.LoggerLogger.fatalError(java.lang.String)
public void fatalError(java.lang.String message,
java.lang.Throwable throwable)
fatalError in interface org.codehaus.plexus.logging.LoggerLogger.fatalError(java.lang.String, java.lang.Throwable)public boolean isFatalErrorEnabled()
isFatalErrorEnabled in interface org.codehaus.plexus.logging.LoggerfalseLogger.isFatalErrorEnabled()public org.codehaus.plexus.logging.Logger getChildLogger(java.lang.String name)
getChildLogger in interface org.codehaus.plexus.logging.LoggernullLogger.getChildLogger(java.lang.String)public int getThreshold()
getThreshold in interface org.codehaus.plexus.logging.Logger0Logger.getThreshold()public java.lang.String getName()
getName in interface org.codehaus.plexus.logging.LoggernullLogger.getName()public void setThreshold(int threshold)
setThreshold in interface org.codehaus.plexus.logging.Logger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||