pub trait LogProcessor: Send + Sync + Debug { // Required method fn process(&self, record: &Sqllog<'_>) -> bool; }
记录处理器接口:实现此接口即可加入处理管线 返回 true 表示保留该记录,false 表示丢弃