[−][src]Trait fast_logger::GenericLogger
Required methods
fn log_generic(&mut self, level: u8, ctx: &'static str, message: Generic)
Log a generic message, used by Logpass
fn to_logpass(self) -> Logpass
Consume this logger to create a logpass
fn to_compatibility(self) -> Compatibility
Turn the logger into a function that takes messages
Useful when crossing boundaries into libraries that only take this compatibility
type.
The type only refers to globally accessible types, so it can be used everywhere without
introducing dependencies.
See Compatibility for examples.