1 unstable release
Uses old Rust 2015
0.1.0 | Jul 9, 2018 |
---|
#141 in #logger
88 downloads per month
Used in 2 crates
5KB
62 lines
Simple console logger that is configurable at runtime for command line apps.
Example
extern crate clogger;
#[macro_use]
extern crate log;
fn main() {
clogger::init();
debug!("this is a debug message and will be hidden");
error!("this is printed by default");
clogger::set_verbosity(2);
debug!("verbosity increased, this will now be displayed");
}
clogger
Simple console logger that is configurable at runtime for command line apps.
License
This library is licensed under the MIT license. See the LICENSE file for details.
Dependencies
~165KB