com.bixuebihui.jdbc.event.LogAfterChangeEventHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of c-dbtools Show documentation
Show all versions of c-dbtools Show documentation
a fast small database connection pool and a active record flavor mini framework
package com.bixuebihui.jdbc.event;
import com.bixuebihui.jdbc.IPrimaryKeyedTable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author xwx
*/
public class LogAfterChangeEventHandler extends BaseAfterChangeEventHandler {
Logger log = LoggerFactory.getLogger(LogAfterChangeEventHandler.class);
public LogAfterChangeEventHandler(IPrimaryKeyedTable dbOperator) {
super(dbOperator);
}
@Override
public void sendEvent(ChangeEvent e) {
log.info(String.valueOf(e));
}
}