pub trait MessageHandler: Send + Sync {
// Required method
fn handle(&self, level: MsgLevel, code: u32, msg: &str);
}Expand description
Trait for receiving diagnostic messages from the codec.
Implement this to redirect messages to a custom logging framework.