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 TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidgetName()voidvoidvoidvoidbooleanbooleanbooleanbooleanbooleanvoidvoidvoidvoidvoidvoidvoidvoid
-
Method Details
-
getName
- Specified by:
getNamein interfaceProtonLogger- Returns:
- the name that was given to this logger on creation.
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabledin interfaceProtonLogger- Returns:
- if the trace log level is enabled for this
ProtonLogger.
-
trace
- Specified by:
tracein interfaceProtonLogger
-
trace
- Specified by:
tracein interfaceProtonLogger
-
trace
- Specified by:
tracein interfaceProtonLogger
-
trace
- Specified by:
tracein interfaceProtonLogger
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceProtonLogger- Returns:
- if the debug log level is enabled for this
ProtonLogger.
-
debug
- Specified by:
debugin interfaceProtonLogger
-
debug
- Specified by:
debugin interfaceProtonLogger
-
debug
- Specified by:
debugin interfaceProtonLogger
-
debug
- Specified by:
debugin interfaceProtonLogger
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabledin interfaceProtonLogger- Returns:
- if the info log level is enabled for this
ProtonLogger.
-
info
- Specified by:
infoin interfaceProtonLogger
-
info
- Specified by:
infoin interfaceProtonLogger
-
info
- Specified by:
infoin interfaceProtonLogger
-
info
- Specified by:
infoin interfaceProtonLogger
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabledin interfaceProtonLogger- Returns:
- if the warn log level is enabled for this
ProtonLogger.
-
warn
- Specified by:
warnin interfaceProtonLogger
-
warn
- Specified by:
warnin interfaceProtonLogger
-
warn
- Specified by:
warnin interfaceProtonLogger
-
warn
- Specified by:
warnin interfaceProtonLogger
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabledin interfaceProtonLogger- Returns:
- if the error log level is enabled for this
ProtonLogger.
-
error
- Specified by:
errorin interfaceProtonLogger
-
error
- Specified by:
errorin interfaceProtonLogger
-
error
- Specified by:
errorin interfaceProtonLogger
-
error
- Specified by:
errorin interfaceProtonLogger
-