/microlog

Dead simple log subscriber

Primary LanguageRustApache License 2.0Apache-2.0

crates.io Documentation

Microlog

Dead simple log subscriber, coming in at only 38 meaningful lines of code.

Example

microlog::init(microlog::LevelFilter::Trace);

log::trace!("Trace test");
log::debug!("Debug test");
log::info!("Info test");
log::warn!("Info test");
log::error!("Info test");

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.