pub trait Logger {
// Required method
fn log(&self, value: String);
}
Expand description
The Logger should be implemented by objects wishing to act as logging services.
Logging services are useful for debugging or analytics. The interface is intentionally vague to allow a multitude of implementations.