Class NullLogger

java.lang.Object
org.eclipse.aether.spi.log.NullLogger
All Implemented Interfaces:
Logger

@Deprecated final class NullLogger extends Object implements Logger
Deprecated.
Use SLF4J instead
A logger that disables any logging.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Emits the specified message.
    void
    debug(String msg, Throwable error)
    Deprecated.
    Emits the specified message along with a stack trace of the given exception.
    boolean
    Deprecated.
    Indicates whether debug logging is enabled.
    boolean
    Deprecated.
    Indicates whether warn logging is enabled.
    void
    warn(String msg)
    Deprecated.
    Emits the specified message.
    void
    warn(String msg, Throwable error)
    Deprecated.
    Emits the specified message along with a stack trace of the given exception.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NullLogger

      NullLogger()
      Deprecated.
  • Method Details

    • isDebugEnabled

      public boolean isDebugEnabled()
      Deprecated.
      Description copied from interface: Logger
      Indicates whether debug logging is enabled.
      Specified by:
      isDebugEnabled in interface Logger
      Returns:
      true if debug logging is enabled, false otherwise.
    • debug

      public void debug(String msg)
      Deprecated.
      Description copied from interface: Logger
      Emits the specified message.
      Specified by:
      debug in interface Logger
      Parameters:
      msg - The message to log, must not be null.
    • debug

      public void debug(String msg, Throwable error)
      Deprecated.
      Description copied from interface: Logger
      Emits the specified message along with a stack trace of the given exception.
      Specified by:
      debug in interface Logger
      Parameters:
      msg - The message to log, must not be null.
      error - The exception to log, may be null.
    • isWarnEnabled

      public boolean isWarnEnabled()
      Deprecated.
      Description copied from interface: Logger
      Indicates whether warn logging is enabled.
      Specified by:
      isWarnEnabled in interface Logger
      Returns:
      true if warn logging is enabled, false otherwise.
    • warn

      public void warn(String msg)
      Deprecated.
      Description copied from interface: Logger
      Emits the specified message.
      Specified by:
      warn in interface Logger
      Parameters:
      msg - The message to log, must not be null.
    • warn

      public void warn(String msg, Throwable error)
      Deprecated.
      Description copied from interface: Logger
      Emits the specified message along with a stack trace of the given exception.
      Specified by:
      warn in interface Logger
      Parameters:
      msg - The message to log, must not be null.
      error - The exception to log, may be null.