A fork of stderrlog, a logger that
aims to provide a simple case of
env_logger that just logs to stderr
based on verbosity.
Documentation
For a working example for StructOpt, clap, and docopt please see the crate level documentation.
For example binaries showing how
module level logging works, please see the large-example crate in examples/.
Usage
Add this to your Cargo.toml:
[]
= "0.6"
and this to your main():
new.verbosity.quiet.init.unwrap;
where your args struct is defined as: