Class SimplifiedLoggerSkeleton

java.lang.Object
org.slf4j.helpers.MarkerIgnoringBase
org.apache.sshd.common.util.logging.LoggerSkeleton
org.apache.sshd.common.util.logging.SimplifiedLoggerSkeleton
All Implemented Interfaces:
Serializable, SimplifiedLog, org.slf4j.Logger

public abstract class SimplifiedLoggerSkeleton extends LoggerSkeleton implements SimplifiedLog
Routes the effective logging to the SimplifiedLog methods. Note: we need the explicit overrides even though they are defined in SimplifiedLog as default since they are defined as abstract in the slf4j Logger interface
See Also:
  • Field Details

  • Constructor Details

    • SimplifiedLoggerSkeleton

      protected SimplifiedLoggerSkeleton(String name)
  • Method Details

    • isErrorEnabled

      public boolean isErrorEnabled()
      Specified by:
      isErrorEnabled in interface org.slf4j.Logger
      Specified by:
      isErrorEnabled in interface SimplifiedLog
    • error

      public void error(String msg, Throwable err)
      Specified by:
      error in interface org.slf4j.Logger
      Specified by:
      error in interface SimplifiedLog
    • isWarnEnabled

      public boolean isWarnEnabled()
      Specified by:
      isWarnEnabled in interface org.slf4j.Logger
      Specified by:
      isWarnEnabled in interface SimplifiedLog
    • warn

      public void warn(String msg, Throwable err)
      Specified by:
      warn in interface org.slf4j.Logger
      Specified by:
      warn in interface SimplifiedLog
    • isInfoEnabled

      public boolean isInfoEnabled()
      Specified by:
      isInfoEnabled in interface org.slf4j.Logger
      Specified by:
      isInfoEnabled in interface SimplifiedLog
    • info

      public void info(String msg, Throwable err)
      Specified by:
      info in interface org.slf4j.Logger
      Specified by:
      info in interface SimplifiedLog
    • isDebugEnabled

      public boolean isDebugEnabled()
      Specified by:
      isDebugEnabled in interface org.slf4j.Logger
      Specified by:
      isDebugEnabled in interface SimplifiedLog
    • debug

      public void debug(String msg, Throwable err)
      Specified by:
      debug in interface org.slf4j.Logger
      Specified by:
      debug in interface SimplifiedLog
    • isTraceEnabled

      public boolean isTraceEnabled()
      Specified by:
      isTraceEnabled in interface org.slf4j.Logger
      Specified by:
      isTraceEnabled in interface SimplifiedLog
    • trace

      public void trace(String msg, Throwable err)
      Specified by:
      trace in interface org.slf4j.Logger
      Specified by:
      trace in interface SimplifiedLog
    • getName

      public String getName()
      Specified by:
      getName in interface org.slf4j.Logger
    • readResolve

      protected Object readResolve() throws ObjectStreamException
      Throws:
      ObjectStreamException