pretty-env-logger

0

Описание

A pretty, easy-to-use logger for Rust.

Языки

  • Rust87,1%
  • Shell12,9%
README.md

pretty-env-logger

Crates.io Docs MIT/APACHE-2.0 Travis CI

A simple logger built on top of env_logger. It is configured via an environment variable and writes to standard error with nice colored output for log levels.

example output

Usage

Add the dependency to your

Cargo.toml
:

Add some usage to your application:

Then run your app with the environmental variable set:

RUST_LOG=trace cargo run

License

Licensed under either of