A library that using macro to write to io::stderr() like print!()/println!() for Rust.
Usage
Cargo.toml
[]
= "0.7.1"
or
[]
= { = "https://github.com/biluohc/stderr", = "master", = "0.7.1"}
Documentation
- Visit https://docs.rs/stderr/
or - Run
cargo doc --openafter modified the toml file.
Example
extern crate stderr;
ChangLog
2017-0424 0.7.1 loc!() and Loger::init(module_path!())
2017-0211 0.7.0 Supports multiple packages.
2017-0126 0.6.1 Don't repeat initialization,fix #2.
2017-0126 0.6.0 Refactoring and update API to stderr::Loger; init!(),db!(),dbln!(),dbst!(),dbstln!() for LOG=module_path!() and --log/-log module_path!(),add Documentation.
2017-0116 0.5.0 Add stderr::loger::Loger;init(), debug!(),debugln!(),debugst!(),debugstln!() for LOG=debug and --log/-log debug.