Trait smoldot_full_node::LogCallback
source · pub trait LogCallback {
// Required method
fn log(&self, log_level: LogLevel, message: String);
}
Expand description
Allow generating logs.
Implemented on closures.
Note: The
log
crate isn’t used because dependencies complete pollute the logs.