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 SummaryFieldsModifier and TypeFieldDescriptionstatic final NoOpProtonLoggerSingleton logger instance that should be used for all No-op logging operations.
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidgetName()voidvoidvoidvoidbooleanbooleanbooleanbooleanbooleanvoidvoidvoidvoidvoidvoidvoidvoid
- 
Field Details- 
INSTANCESingleton logger instance that should be used for all No-op logging operations.
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein interface- ProtonLogger
- Returns:
- the name that was given to this logger on creation.
 
- 
isTraceEnabledpublic boolean isTraceEnabled()- Specified by:
- isTraceEnabledin interface- ProtonLogger
- Returns:
- if the trace log level is enabled for this ProtonLogger.
 
- 
trace- Specified by:
- tracein interface- ProtonLogger
 
- 
trace- Specified by:
- tracein interface- ProtonLogger
 
- 
trace- Specified by:
- tracein interface- ProtonLogger
 
- 
trace- Specified by:
- tracein interface- ProtonLogger
 
- 
isDebugEnabledpublic boolean isDebugEnabled()- Specified by:
- isDebugEnabledin interface- ProtonLogger
- Returns:
- if the debug log level is enabled for this ProtonLogger.
 
- 
debug- Specified by:
- debugin interface- ProtonLogger
 
- 
debug- Specified by:
- debugin interface- ProtonLogger
 
- 
debug- Specified by:
- debugin interface- ProtonLogger
 
- 
debug- Specified by:
- debugin interface- ProtonLogger
 
- 
isInfoEnabledpublic boolean isInfoEnabled()- Specified by:
- isInfoEnabledin interface- ProtonLogger
- Returns:
- if the info log level is enabled for this ProtonLogger.
 
- 
info- Specified by:
- infoin interface- ProtonLogger
 
- 
info- Specified by:
- infoin interface- ProtonLogger
 
- 
info- Specified by:
- infoin interface- ProtonLogger
 
- 
info- Specified by:
- infoin interface- ProtonLogger
 
- 
isWarnEnabledpublic boolean isWarnEnabled()- Specified by:
- isWarnEnabledin interface- ProtonLogger
- Returns:
- if the warn log level is enabled for this ProtonLogger.
 
- 
warn- Specified by:
- warnin interface- ProtonLogger
 
- 
warn- Specified by:
- warnin interface- ProtonLogger
 
- 
warn- Specified by:
- warnin interface- ProtonLogger
 
- 
warn- Specified by:
- warnin interface- ProtonLogger
 
- 
isErrorEnabledpublic boolean isErrorEnabled()- Specified by:
- isErrorEnabledin interface- ProtonLogger
- Returns:
- if the error log level is enabled for this ProtonLogger.
 
- 
error- Specified by:
- errorin interface- ProtonLogger
 
- 
error- Specified by:
- errorin interface- ProtonLogger
 
- 
error- Specified by:
- errorin interface- ProtonLogger
 
- 
error- Specified by:
- errorin interface- ProtonLogger
 
 
-