logfmt_logger

Crates.iologfmt_logger
lib.rslogfmt_logger
version0.1.1
sourcesrc
created_at2020-09-19 02:50:12.941322
updated_at2020-09-19 03:14:23.990359
descriptionLogging interface implementing Heroku's logfmt.
homepagehttps://github.com/mcountryman/logfmt_logger
repositoryhttps://github.com/mcountryman/logfmt_logger
max_upload_size
id290343
size442,516
Marvin Countryman (mcountryman)

documentation

https://docs.rs/logfmt_logger

README

logfmt_logger

docs.rs Crates.io

Logger based off of env_logger using Heroku's logfmt as an output format.

Preview

terminal

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();
}
Commit count: 14

cargo fmt