Package org.apache.cassandra.cdc
Interface CdcLogger
-
- All Known Implementing Classes:
CdcLogMode
public interface CdcLoggerHelper to produce structured log message for CDC events, etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiderror(org.slf4j.Logger logger, java.lang.String message, org.apache.cassandra.cdc.msg.CdcEvent event, java.lang.String topic, java.lang.Throwable cause)Create the log message with the input and log at the error levelvoidinfo(org.slf4j.Logger logger, java.lang.String message, org.apache.cassandra.cdc.msg.CdcEvent event, java.lang.String topic)Create the log message with the input and log at the info levelvoidwarn(org.slf4j.Logger logger, java.lang.String message, org.apache.cassandra.cdc.msg.CdcEvent event, java.lang.String topic, java.lang.Throwable cause)Create the log message with the input and log at the warn level
-
-
-
Method Detail
-
info
void info(org.slf4j.Logger logger, java.lang.String message, org.apache.cassandra.cdc.msg.CdcEvent event, java.lang.String topic)Create the log message with the input and log at the info level- Parameters:
logger- logger to use to logmessage- message to logevent- cdc event to logtopic- message topic to log
-
warn
void warn(org.slf4j.Logger logger, java.lang.String message, org.apache.cassandra.cdc.msg.CdcEvent event, java.lang.String topic, java.lang.Throwable cause)Create the log message with the input and log at the warn level- Parameters:
logger- logger to usemessage- message to logevent- cdc event to logtopic- message topic to logcause- throwable to log
-
error
void error(org.slf4j.Logger logger, java.lang.String message, org.apache.cassandra.cdc.msg.CdcEvent event, java.lang.String topic, java.lang.Throwable cause)Create the log message with the input and log at the error level- Parameters:
logger- logger to use to logmessage- message to logevent- cdc event to logtopic- message topic to logcause- throwable to log
-
-