pub trait LogSink {
// Required method
fn log(&self, level: LogLevel, message: &str, context: &[(String, String)]);
}Expand description
Where the client’s log messages go (LogSink).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".