pub trait Logger: Debug { // Required methods fn debug(&self, location: SpanLoc, message: &str); fn warn(&self, location: SpanLoc, message: &str); }
A trait to allow replacing logging mechanisms
Logs message from a @debug statement
@debug
Logs message from a @warn statement
@warn