org.apache.maven.plugin.dependency.utils
Class DependencySilentLog

java.lang.Object
  extended by org.apache.maven.plugin.dependency.utils.DependencySilentLog
All Implemented Interfaces:
Log, org.codehaus.plexus.logging.Logger

public class DependencySilentLog
extends Object
implements Log, org.codehaus.plexus.logging.Logger

This logger implements both types of logs currently in use and turns off logs.

Version:
$Id: DependencySilentLog.java 1085803 2011-03-26 21:15:52Z hboutemy $
Author:
Brian Fox

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
DependencySilentLog()
           
 
Method Summary
 void debug(CharSequence content)
          By default, do nothing.
 void debug(CharSequence content, Throwable error)
          By default, do nothing.
 void debug(String message)
          By default, do nothing.
 void debug(String message, Throwable throwable)
          By default, do nothing.
 void debug(Throwable error)
          By default, do nothing.
 void error(CharSequence content)
          By default, do nothing.
 void error(CharSequence content, Throwable error)
          By default, do nothing.
 void error(String message)
          By default, do nothing.
 void error(String message, Throwable throwable)
          By default, do nothing.
 void error(Throwable error)
          By default, do nothing.
 void fatalError(String message)
          By default, do nothing.
 void fatalError(String message, Throwable throwable)
          By default, do nothing.
 org.codehaus.plexus.logging.Logger getChildLogger(String name)
           
 String getName()
           
 int getThreshold()
           
 void info(CharSequence content)
          By default, do nothing.
 void info(CharSequence content, Throwable error)
          By default, do nothing.
 void info(String message)
          By default, do nothing.
 void info(String message, Throwable throwable)
          By default, do nothing.
 void info(Throwable error)
          By default, do nothing.
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalErrorEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
          By default, do nothing.
 void warn(CharSequence content)
          By default, do nothing.
 void warn(CharSequence content, Throwable error)
          By default, do nothing.
 void warn(String message)
          By default, do nothing.
 void warn(String message, Throwable throwable)
          By default, do nothing.
 void warn(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

DependencySilentLog

public DependencySilentLog()
Method Detail

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface Log
Specified by:
isDebugEnabled in interface org.codehaus.plexus.logging.Logger
Returns:
false
See Also:
Log.isDebugEnabled()

debug

public void debug(CharSequence content)
By default, do nothing.

Specified by:
debug in interface Log
See Also:
Log.debug(java.lang.CharSequence)

debug

public void debug(CharSequence content,
                  Throwable error)
By default, do nothing.

Specified by:
debug in interface Log
See Also:
Log.debug(java.lang.CharSequence, java.lang.Throwable)

debug

public void debug(Throwable error)
By default, do nothing.

Specified by:
debug in interface Log
See Also:
Log.debug(java.lang.Throwable)

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface Log
Specified by:
isInfoEnabled in interface org.codehaus.plexus.logging.Logger
Returns:
false
See Also:
Log.isInfoEnabled()

info

public void info(CharSequence content)
By default, do nothing.

Specified by:
info in interface Log
See Also:
Log.info(java.lang.CharSequence)

info

public void info(CharSequence content,
                 Throwable error)
By default, do nothing.

Specified by:
info in interface Log
See Also:
Log.info(java.lang.CharSequence, java.lang.Throwable)

info

public void info(Throwable error)
By default, do nothing.

Specified by:
info in interface Log
See Also:
Log.info(java.lang.Throwable)

isWarnEnabled

public boolean isWarnEnabled()
By default, do nothing.

Specified by:
isWarnEnabled in interface Log
Specified by:
isWarnEnabled in interface org.codehaus.plexus.logging.Logger
See Also:
Log.isWarnEnabled()

warn

public void warn(CharSequence content)
By default, do nothing.

Specified by:
warn in interface Log
See Also:
Log.warn(java.lang.CharSequence)

warn

public void warn(CharSequence content,
                 Throwable error)
By default, do nothing.

Specified by:
warn in interface Log
See Also:
Log.warn(java.lang.CharSequence, java.lang.Throwable)

warn

public void warn(Throwable error)
By default, do nothing.

Specified by:
warn in interface Log
See Also:
Log.warn(java.lang.Throwable)

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface Log
Specified by:
isErrorEnabled in interface org.codehaus.plexus.logging.Logger
Returns:
false
See Also:
Log.isErrorEnabled()

error

public void error(CharSequence content)
By default, do nothing.

Specified by:
error in interface Log
See Also:
Log.error(java.lang.CharSequence)

error

public void error(CharSequence content,
                  Throwable error)
By default, do nothing.

Specified by:
error in interface Log
See Also:
Log.error(java.lang.CharSequence, java.lang.Throwable)

error

public void error(Throwable error)
By default, do nothing.

Specified by:
error in interface Log
See Also:
Log.error(java.lang.Throwable)

debug

public void debug(String message)
By default, do nothing.

Specified by:
debug in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.debug(java.lang.String)

debug

public void debug(String message,
                  Throwable throwable)
By default, do nothing.

Specified by:
debug in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.debug(java.lang.String, java.lang.Throwable)

info

public void info(String message)
By default, do nothing.

Specified by:
info in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.info(java.lang.String)

info

public void info(String message,
                 Throwable throwable)
By default, do nothing.

Specified by:
info in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.info(java.lang.String, java.lang.Throwable)

warn

public void warn(String message)
By default, do nothing.

Specified by:
warn in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.warn(java.lang.String)

warn

public void warn(String message,
                 Throwable throwable)
By default, do nothing.

Specified by:
warn in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.warn(java.lang.String, java.lang.Throwable)

error

public void error(String message)
By default, do nothing.

Specified by:
error in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.error(java.lang.String)

error

public void error(String message,
                  Throwable throwable)
By default, do nothing.

Specified by:
error in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.error(java.lang.String, java.lang.Throwable)

fatalError

public void fatalError(String message)
By default, do nothing.

Specified by:
fatalError in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.fatalError(java.lang.String)

fatalError

public void fatalError(String message,
                       Throwable throwable)
By default, do nothing.

Specified by:
fatalError in interface org.codehaus.plexus.logging.Logger
See Also:
Logger.fatalError(java.lang.String, java.lang.Throwable)

isFatalErrorEnabled

public boolean isFatalErrorEnabled()
Specified by:
isFatalErrorEnabled in interface org.codehaus.plexus.logging.Logger
Returns:
false
See Also:
Logger.isFatalErrorEnabled()

getChildLogger

public org.codehaus.plexus.logging.Logger getChildLogger(String name)
Specified by:
getChildLogger in interface org.codehaus.plexus.logging.Logger
Returns:
null
See Also:
Logger.getChildLogger(java.lang.String)

getThreshold

public int getThreshold()
Specified by:
getThreshold in interface org.codehaus.plexus.logging.Logger
Returns:
0
See Also:
Logger.getThreshold()

getName

public String getName()
Specified by:
getName in interface org.codehaus.plexus.logging.Logger
Returns:
null
See Also:
Logger.getName()


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.