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 theSimplifiedLogmethods. Note: we need the explicit overrides even though they are defined inSimplifiedLogasdefaultsince they are defined asabstractin theslf4j Loggerinterface- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SimplifiedLoggerSkeletonEMPTYprotected java.lang.Stringnameprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimplifiedLoggerSkeleton(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(java.lang.String msg, java.lang.Throwable err)voiderror(java.lang.String msg, java.lang.Throwable err)java.lang.StringgetName()voidinfo(java.lang.String msg, java.lang.Throwable err)booleanisDebugEnabled()booleanisErrorEnabled()booleanisInfoEnabled()booleanisTraceEnabled()booleanisWarnEnabled()protected java.lang.ObjectreadResolve()voidtrace(java.lang.String msg, java.lang.Throwable err)voidwarn(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:
isErrorEnabledin interfaceorg.slf4j.Logger- Specified by:
isErrorEnabledin interfaceSimplifiedLog
-
error
public void error(java.lang.String msg, java.lang.Throwable err)- Specified by:
errorin interfaceorg.slf4j.Logger- Specified by:
errorin interfaceSimplifiedLog
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceorg.slf4j.Logger- Specified by:
isWarnEnabledin interfaceSimplifiedLog
-
warn
public void warn(java.lang.String msg, java.lang.Throwable err)- Specified by:
warnin interfaceorg.slf4j.Logger- Specified by:
warnin interfaceSimplifiedLog
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin interfaceorg.slf4j.Logger- Specified by:
isInfoEnabledin interfaceSimplifiedLog
-
info
public void info(java.lang.String msg, java.lang.Throwable err)- Specified by:
infoin interfaceorg.slf4j.Logger- Specified by:
infoin interfaceSimplifiedLog
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceorg.slf4j.Logger- Specified by:
isDebugEnabledin interfaceSimplifiedLog
-
debug
public void debug(java.lang.String msg, java.lang.Throwable err)- Specified by:
debugin interfaceorg.slf4j.Logger- Specified by:
debugin interfaceSimplifiedLog
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabledin interfaceorg.slf4j.Logger- Specified by:
isTraceEnabledin interfaceSimplifiedLog
-
trace
public void trace(java.lang.String msg, java.lang.Throwable err)- Specified by:
tracein interfaceorg.slf4j.Logger- Specified by:
tracein interfaceSimplifiedLog
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.slf4j.Logger
-
readResolve
protected java.lang.Object readResolve() throws java.io.ObjectStreamException- Throws:
java.io.ObjectStreamException
-
-