pub trait Logger: RuntimeAdapter {
// Required methods
fn info(&self, message: &str);
fn debug(&self, message: &str);
fn warn(&self, message: &str);
fn error(&self, message: &str);
}Expand description
Logging trait - enables ctx.log() accessor
Required Methods§
fn info(&self, message: &str)
fn debug(&self, message: &str)
fn warn(&self, message: &str)
fn error(&self, message: &str)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".