Interface ConditionalExceptionLogger
- All Known Implementing Classes:
AbstractConnectionFactory.DefaultChannelCloseLogger
,AbstractMessageListenerContainer.DefaultExclusiveConsumerLogger
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
For components that support customization of the logging of certain events, users can
provide an implementation of this interface to modify the existing logging behavior.
- Since:
- 1.5
- Author:
- Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Log the event.default void
logRestart
(Log logger, LogMessage message) Log a consumer restart; debug by default.
-
Method Details
-
log
-
logRestart
Log a consumer restart; debug by default.- Parameters:
logger
- the logger.message
- the message.- Since:
- 3.1
-