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 theSimplifiedLogmethods. Note: we need the explicit overrides even though they are defined inSimplifiedLogasdefaultsince they are defined asabstractin theslf4j Loggerinterface- Author:
- Apache MINA SSHD Project
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static SimplifiedLoggerSkeletonEMPTYprotected Stringname
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimplifiedLoggerSkeleton(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(String msg, Throwable err)voiderror(String msg, Throwable err)StringgetName()voidinfo(String msg, Throwable err)booleanisDebugEnabled()booleanisErrorEnabled()booleanisInfoEnabled()booleanisTraceEnabled()booleanisWarnEnabled()protected ObjectreadResolve()voidtrace(String msg, Throwable err)voidwarn(String msg, 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
-
name
protected String name
-
-
Constructor Detail
-
SimplifiedLoggerSkeleton
protected SimplifiedLoggerSkeleton(String name)
-
-
Method Detail
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabledin interfaceorg.slf4j.Logger- Specified by:
isErrorEnabledin interfaceSimplifiedLog
-
error
public void error(String msg, 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(String msg, 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(String msg, 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(String msg, 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(String msg, Throwable err)
- Specified by:
tracein interfaceorg.slf4j.Logger- Specified by:
tracein interfaceSimplifiedLog
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.slf4j.Logger
-
readResolve
protected Object readResolve() throws ObjectStreamException
- Throws:
ObjectStreamException
-
-