Package org.apache.qpid.protonj2.logging
Class NoOpProtonLogger
java.lang.Object
org.apache.qpid.protonj2.logging.NoOpProtonLogger
- All Implemented Interfaces:
ProtonLogger
Simple proton logger implementation that performs no logging.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NoOpProtonLoggerSingleton logger instance that should be used for all No-op logging operations. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidgetName()voidvoidvoidvoidbooleanbooleanbooleanbooleanbooleanvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
INSTANCE
Singleton logger instance that should be used for all No-op logging operations.
-
-
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
-