Top Description Fields Constructors Methods
org.apache.sshd.common.util.logging

public abstract Class SimplifiedLoggerSkeleton

extends LoggerSkeleton
implements SimplifiedLog
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.util.logging.SimplifiedLog
Imports
java.util.logging.Level

References Deprecated

LoggerSkeleton is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

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

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
public static final SimplifiedLoggerSkeleton
EMPTY

Hides org.apache.sshd.common.util.logging.SimplifiedLog.EMPTY.

References Deprecated SimplifiedLoggerSkeleton is deprecated or references (maybe indirectly) at least one deprecated element.
private static final long

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
debug(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
err
)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.debug.

Implements org.slf4j.Logger.debug.

Log an exception (throwable) at the DEBUG level with an accompanying message.

public void
error(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
err
)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.error.

Implements org.slf4j.Logger.error.

Log an exception (throwable) at the ERROR level with an accompanying message.

public void
info(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
err
)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.info.

Implements org.slf4j.Logger.info.

Log an exception (throwable) at the INFO level with an accompanying message.

public boolean
isDebugEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isDebugEnabled.

Implements org.slf4j.Logger.isDebugEnabled.

Is the logger instance enabled for the DEBUG level?

public boolean
isErrorEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isErrorEnabled.

Implements org.slf4j.Logger.isErrorEnabled.

Is the logger instance enabled for the ERROR level?

public boolean
isInfoEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isInfoEnabled.

Implements org.slf4j.Logger.isInfoEnabled.

Is the logger instance enabled for the INFO level?

public boolean
isTraceEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isTraceEnabled.

Implements org.slf4j.Logger.isTraceEnabled.

Is the logger instance enabled for the TRACE level?

public boolean
isWarnEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isWarnEnabled.

Implements org.slf4j.Logger.isWarnEnabled.

Is the logger instance enabled for the WARN level?

public void
trace(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
err
)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.trace.

Implements org.slf4j.Logger.trace.

Log an exception (throwable) at the TRACE level with an accompanying message.

public void
warn(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
err
)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.warn.

Implements org.slf4j.Logger.warn.

Log an exception (throwable) at the WARN level with an accompanying message.

Inherited from org.apache.sshd.common.util.logging.LoggerSkeleton:
debugdebugdebugdebugerrorerrorerrorerrorinfoinfoinfoinfotracetracetracetracewarnwarnwarnwarn

Field Detail

EMPTYback to summary
public static final SimplifiedLoggerSkeleton EMPTY

Hides org.apache.sshd.common.util.logging.SimplifiedLog.EMPTY.

References Deprecated

SimplifiedLoggerSkeleton is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.sshd.common.util.logging.LoggerSkeleton.serialVersionUID.

Constructor Detail

SimplifiedLoggerSkeletonback to summary
protected SimplifiedLoggerSkeleton(String name)

Method Detail

debugback to summary
public void debug(String msg, Throwable err)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.debug.

Implements org.slf4j.Logger.debug.

Doc from org.slf4j.Logger.debug.

Log an exception (throwable) at the DEBUG level with an accompanying message.

Parameters
msg:String

the message accompanying the exception

err:Throwable

the exception (throwable) to log

Annotations
@Override
errorback to summary
public void error(String msg, Throwable err)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.error.

Implements org.slf4j.Logger.error.

Doc from org.slf4j.Logger.error.

Log an exception (throwable) at the ERROR level with an accompanying message.

Parameters
msg:String

the message accompanying the exception

err:Throwable

the exception (throwable) to log

Annotations
@Override
infoback to summary
public void info(String msg, Throwable err)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.info.

Implements org.slf4j.Logger.info.

Doc from org.slf4j.Logger.info.

Log an exception (throwable) at the INFO level with an accompanying message.

Parameters
msg:String

the message accompanying the exception

err:Throwable

the exception (throwable) to log

Annotations
@Override
isDebugEnabledback to summary
public boolean isDebugEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isDebugEnabled.

Implements org.slf4j.Logger.isDebugEnabled.

Doc from org.slf4j.Logger.isDebugEnabled.

Is the logger instance enabled for the DEBUG level?

Returns:boolean

True if this Logger is enabled for the DEBUG level, false otherwise.

Annotations
@Override
isErrorEnabledback to summary
public boolean isErrorEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isErrorEnabled.

Implements org.slf4j.Logger.isErrorEnabled.

Doc from org.slf4j.Logger.isErrorEnabled.

Is the logger instance enabled for the ERROR level?

Returns:boolean

True if this Logger is enabled for the ERROR level, false otherwise.

Annotations
@Override
isInfoEnabledback to summary
public boolean isInfoEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isInfoEnabled.

Implements org.slf4j.Logger.isInfoEnabled.

Doc from org.slf4j.Logger.isInfoEnabled.

Is the logger instance enabled for the INFO level?

Returns:boolean

True if this Logger is enabled for the INFO level, false otherwise.

Annotations
@Override
isTraceEnabledback to summary
public boolean isTraceEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isTraceEnabled.

Implements org.slf4j.Logger.isTraceEnabled.

Doc from org.slf4j.Logger.isTraceEnabled.

Is the logger instance enabled for the TRACE level?

Returns:boolean

True if this Logger is enabled for the TRACE level, false otherwise.

Annotations
@Override
isWarnEnabledback to summary
public boolean isWarnEnabled()

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.isWarnEnabled.

Implements org.slf4j.Logger.isWarnEnabled.

Doc from org.slf4j.Logger.isWarnEnabled.

Is the logger instance enabled for the WARN level?

Returns:boolean

True if this Logger is enabled for the WARN level, false otherwise.

Annotations
@Override
traceback to summary
public void trace(String msg, Throwable err)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.trace.

Implements org.slf4j.Logger.trace.

Doc from org.slf4j.Logger.trace.

Log an exception (throwable) at the TRACE level with an accompanying message.

Parameters
msg:String

the message accompanying the exception

err:Throwable

the exception (throwable) to log

Annotations
@Override
warnback to summary
public void warn(String msg, Throwable err)

Overrides default org.apache.sshd.common.util.logging.SimplifiedLog.warn.

Implements org.slf4j.Logger.warn.

Doc from org.slf4j.Logger.warn.

Log an exception (throwable) at the WARN level with an accompanying message.

Parameters
msg:String

the message accompanying the exception

err:Throwable

the exception (throwable) to log

Annotations
@Override