Package org.apache.qpid.protonj2.logging
Interface ProtonLogger
- All Known Implementing Classes:
NoOpProtonLogger
,Slf4JLoggerWrapper
public interface ProtonLogger
Proton Logger abstraction
This interface provides an abstraction to be used around third party Logging frameworks such as slf4j, log4j etc.
-
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
String getName()- Returns:
- the name that was given to this logger on creation.
-
isTraceEnabled
boolean isTraceEnabled()- Returns:
- if the trace log level is enabled for this
ProtonLogger
.
-
trace
-
trace
-
trace
-
trace
-
isDebugEnabled
boolean isDebugEnabled()- Returns:
- if the debug log level is enabled for this
ProtonLogger
.
-
debug
-
debug
-
debug
-
debug
-
isInfoEnabled
boolean isInfoEnabled()- Returns:
- if the info log level is enabled for this
ProtonLogger
.
-
info
-
info
-
info
-
info
-
isWarnEnabled
boolean isWarnEnabled()- Returns:
- if the warn log level is enabled for this
ProtonLogger
.
-
warn
-
warn
-
warn
-
warn
-
isErrorEnabled
boolean isErrorEnabled()- Returns:
- if the error log level is enabled for this
ProtonLogger
.
-
error
-
error
-
error
-
error
-