log Error
public static ErrorHandler logError(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 sole parameter is the type of the message which caused the error
type
the type of messages delivered to the consumers