Package org.apache.qpid.protonj2.logging
Class Slf4JLoggerWrapper
java.lang.Object
org.apache.qpid.protonj2.logging.Slf4JLoggerWrapper
- All Implemented Interfaces:
ProtonLogger
A Wrapper around an Slf4J Logger used to proxy logging calls to that
framework when it is available.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
getName()
void
void
void
void
boolean
boolean
boolean
boolean
boolean
void
void
void
void
void
void
void
void
-
Method Details
-
getName
- Specified by:
getName
in interfaceProtonLogger
- Returns:
- the name that was given to this logger on creation.
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabled
in interfaceProtonLogger
- Returns:
- if the trace log level is enabled for this
ProtonLogger
.
-
trace
- Specified by:
trace
in interfaceProtonLogger
-
trace
- Specified by:
trace
in interfaceProtonLogger
-
trace
- Specified by:
trace
in interfaceProtonLogger
-
trace
- Specified by:
trace
in interfaceProtonLogger
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceProtonLogger
- Returns:
- if the debug log level is enabled for this
ProtonLogger
.
-
debug
- Specified by:
debug
in interfaceProtonLogger
-
debug
- Specified by:
debug
in interfaceProtonLogger
-
debug
- Specified by:
debug
in interfaceProtonLogger
-
debug
- Specified by:
debug
in interfaceProtonLogger
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabled
in interfaceProtonLogger
- Returns:
- if the info log level is enabled for this
ProtonLogger
.
-
info
- Specified by:
info
in interfaceProtonLogger
-
info
- Specified by:
info
in interfaceProtonLogger
-
info
- Specified by:
info
in interfaceProtonLogger
-
info
- Specified by:
info
in interfaceProtonLogger
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabled
in interfaceProtonLogger
- Returns:
- if the warn log level is enabled for this
ProtonLogger
.
-
warn
- Specified by:
warn
in interfaceProtonLogger
-
warn
- Specified by:
warn
in interfaceProtonLogger
-
warn
- Specified by:
warn
in interfaceProtonLogger
-
warn
- Specified by:
warn
in interfaceProtonLogger
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabled
in interfaceProtonLogger
- Returns:
- if the error log level is enabled for this
ProtonLogger
.
-
error
- Specified by:
error
in interfaceProtonLogger
-
error
- Specified by:
error
in interfaceProtonLogger
-
error
- Specified by:
error
in interfaceProtonLogger
-
error
- Specified by:
error
in interfaceProtonLogger
-