org.apache.maven.plugin.testing
Class SilentLog
java.lang.Object
org.apache.maven.plugin.testing.SilentLog
- All Implemented Interfaces:
- Log, org.codehaus.plexus.logging.Logger
public class SilentLog
- extends Object
- implements Log, org.codehaus.plexus.logging.Logger
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.
- Version:
- $Id: SilentLog.java 546355 2007-06-12 02:00:02Z brianf $
- Author:
- Brian Fox
Fields inherited from interface org.codehaus.plexus.logging.Logger |
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SilentLog
public SilentLog()
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface Log
- Specified by:
isDebugEnabled
in interface org.codehaus.plexus.logging.Logger
debug
public void debug(CharSequence content)
- Specified by:
debug
in interface Log
debug
public void debug(CharSequence content,
Throwable error)
- Specified by:
debug
in interface Log
debug
public void debug(Throwable error)
- Specified by:
debug
in interface Log
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface Log
- Specified by:
isInfoEnabled
in interface org.codehaus.plexus.logging.Logger
info
public void info(CharSequence content)
- Specified by:
info
in interface Log
info
public void info(CharSequence content,
Throwable error)
- Specified by:
info
in interface Log
info
public void info(Throwable error)
- Specified by:
info
in interface Log
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface Log
- Specified by:
isWarnEnabled
in interface org.codehaus.plexus.logging.Logger
warn
public void warn(CharSequence content)
- Specified by:
warn
in interface Log
warn
public void warn(CharSequence content,
Throwable error)
- Specified by:
warn
in interface Log
warn
public void warn(Throwable error)
- Specified by:
warn
in interface Log
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface Log
- Specified by:
isErrorEnabled
in interface org.codehaus.plexus.logging.Logger
error
public void error(CharSequence content)
- Specified by:
error
in interface Log
error
public void error(CharSequence content,
Throwable error)
- Specified by:
error
in interface Log
error
public void error(Throwable error)
- Specified by:
error
in interface Log
debug
public void debug(String message)
- Specified by:
debug
in interface org.codehaus.plexus.logging.Logger
debug
public void debug(String message,
Throwable throwable)
- Specified by:
debug
in interface org.codehaus.plexus.logging.Logger
info
public void info(String message)
- Specified by:
info
in interface org.codehaus.plexus.logging.Logger
info
public void info(String message,
Throwable throwable)
- Specified by:
info
in interface org.codehaus.plexus.logging.Logger
warn
public void warn(String message)
- Specified by:
warn
in interface org.codehaus.plexus.logging.Logger
warn
public void warn(String message,
Throwable throwable)
- Specified by:
warn
in interface org.codehaus.plexus.logging.Logger
error
public void error(String message)
- Specified by:
error
in interface org.codehaus.plexus.logging.Logger
error
public void error(String message,
Throwable throwable)
- Specified by:
error
in interface org.codehaus.plexus.logging.Logger
fatalError
public void fatalError(String message)
- Specified by:
fatalError
in interface org.codehaus.plexus.logging.Logger
fatalError
public void fatalError(String message,
Throwable throwable)
- Specified by:
fatalError
in interface org.codehaus.plexus.logging.Logger
isFatalErrorEnabled
public boolean isFatalErrorEnabled()
- Specified by:
isFatalErrorEnabled
in interface org.codehaus.plexus.logging.Logger
getChildLogger
public org.codehaus.plexus.logging.Logger getChildLogger(String name)
- Specified by:
getChildLogger
in interface org.codehaus.plexus.logging.Logger
getThreshold
public int getThreshold()
- Specified by:
getThreshold
in interface org.codehaus.plexus.logging.Logger
getName
public String getName()
- Specified by:
getName
in interface org.codehaus.plexus.logging.Logger
setThreshold
public void setThreshold(int theThreshold)
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.