A library that using macro to write to io::stderr() like print!()/println!() for Rust.
Usage
Cargo.toml
[]
= "0.6.1"
or
[]
= { = "https://github.com/biluohc/stderr", = "master", = "0.6.1"}
Documentation
- Visit https://docs.rs/stderr/
or - Run
cargo doc --open
after modified the toml file.
Example
extern crate stderr;
ChangLog
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
.