A logger configured via an environment variable which writes to standard error with nice colored output for log levels.
Example
extern crate pretty_env_logger;
extern crate log;
Run the program with the environment variable RUST_LOG=trace.
Defaults
The defaults can be setup by calling init() or try_init() at the start
of the program.
Enable logging
This crate uses env_logger internally, so the same ways of enabling logs through an environment variable are supported.