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:
java.io.Serializable
,SimplifiedLog
,org.slf4j.Logger
public abstract class SimplifiedLoggerSkeleton extends LoggerSkeleton implements SimplifiedLog
Routes the effective logging to theSimplifiedLog
methods. Note: we need the explicit overrides even though they are defined inSimplifiedLog
asdefault
since they are defined asabstract
in theslf4j Logger
interface- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SimplifiedLoggerSkeleton
EMPTY
protected java.lang.String
name
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimplifiedLoggerSkeleton(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(java.lang.String msg, java.lang.Throwable err)
void
error(java.lang.String msg, java.lang.Throwable err)
java.lang.String
getName()
void
info(java.lang.String msg, java.lang.Throwable err)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isInfoEnabled()
boolean
isTraceEnabled()
boolean
isWarnEnabled()
protected java.lang.Object
readResolve()
void
trace(java.lang.String msg, java.lang.Throwable err)
void
warn(java.lang.String msg, java.lang.Throwable err)
-
Methods inherited from class org.apache.sshd.common.util.logging.LoggerSkeleton
debug, debug, debug, debug, error, error, error, error, info, info, info, info, trace, trace, trace, trace, warn, warn, warn, warn
-
Methods inherited from class org.slf4j.helpers.MarkerIgnoringBase
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.util.logging.SimplifiedLog
debug, error, info, isEnabledLevel, log, log, trace, warn
-
-
-
-
Field Detail
-
EMPTY
public static final SimplifiedLoggerSkeleton EMPTY
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
name
protected java.lang.String name
-
-
Method Detail
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceorg.slf4j.Logger
- Specified by:
isErrorEnabled
in interfaceSimplifiedLog
-
error
public void error(java.lang.String msg, java.lang.Throwable err)
- Specified by:
error
in interfaceorg.slf4j.Logger
- Specified by:
error
in interfaceSimplifiedLog
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interfaceorg.slf4j.Logger
- Specified by:
isWarnEnabled
in interfaceSimplifiedLog
-
warn
public void warn(java.lang.String msg, java.lang.Throwable err)
- Specified by:
warn
in interfaceorg.slf4j.Logger
- Specified by:
warn
in interfaceSimplifiedLog
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceorg.slf4j.Logger
- Specified by:
isInfoEnabled
in interfaceSimplifiedLog
-
info
public void info(java.lang.String msg, java.lang.Throwable err)
- Specified by:
info
in interfaceorg.slf4j.Logger
- Specified by:
info
in interfaceSimplifiedLog
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceorg.slf4j.Logger
- Specified by:
isDebugEnabled
in interfaceSimplifiedLog
-
debug
public void debug(java.lang.String msg, java.lang.Throwable err)
- Specified by:
debug
in interfaceorg.slf4j.Logger
- Specified by:
debug
in interfaceSimplifiedLog
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interfaceorg.slf4j.Logger
- Specified by:
isTraceEnabled
in interfaceSimplifiedLog
-
trace
public void trace(java.lang.String msg, java.lang.Throwable err)
- Specified by:
trace
in interfaceorg.slf4j.Logger
- Specified by:
trace
in interfaceSimplifiedLog
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceorg.slf4j.Logger
-
readResolve
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
- Throws:
java.io.ObjectStreamException
-
-