Class DependencySilentLog

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

public class DependencySilentLog extends Object implements org.apache.maven.plugin.logging.Log, org.codehaus.plexus.logging.Logger
This logger implements both types of logs currently in use and turns off logs.
  • Constructor Details

    • DependencySilentLog

      public DependencySilentLog()
  • Method Details

    • isDebugEnabled

      public boolean isDebugEnabled()
      Specified by:
      isDebugEnabled in interface org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.Log
      See Also:
      • Log.debug(java.lang.Throwable)
    • isInfoEnabled

      public boolean isInfoEnabled()
      Specified by:
      isInfoEnabled in interface org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.Log
      See Also:
      • Log.info(java.lang.Throwable)
    • isWarnEnabled

      public boolean isWarnEnabled()
      By default, do nothing.
      Specified by:
      isWarnEnabled in interface org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.Log
      See Also:
      • Log.warn(java.lang.Throwable)
    • isErrorEnabled

      public boolean isErrorEnabled()
      Specified by:
      isErrorEnabled in interface org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.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 org.apache.maven.plugin.logging.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()
    • setThreshold

      public void setThreshold(int threshold)
      By default, do nothing
      Specified by:
      setThreshold in interface org.codehaus.plexus.logging.Logger
    • getName

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