log Error
public static ConsumerErrorHandler<M> logError<M extends Message>(FluentLogger logger, String messageFormat, Class<? extends Message> type)
Obtains the handler which logs the fact of the error using the severe level of the passed logger.
Return
the logging error handler
Parameters
logger
the instance of the logger to use for reporting the error
message Format
the formatting message where the first parameter is the consumer which caused the error, and the second parameter is the type of the message which caused the error
<M>
the type of the messages delivered to the consumer