2 releases
0.1.1 | Sep 19, 2020 |
---|---|
0.1.0 | Sep 19, 2020 |
#4 in #heroku
23 downloads per month
375KB
236 lines
logfmt_logger
Logger based off of env_logger using Heroku's logfmt as an output format.
Preview
Quick Start
Cargo.toml
logfmt_logger = "0.1.1"
src/main.rs
use std::env;
use logfmt_logger;
fn main() {
env::set_var("RUST_LOG", "trace");
logfmt_logger::init();
}
Dependencies
~0–8MB
~49K SLoC