Crates.io | logfmt_logger |
lib.rs | logfmt_logger |
version | 0.1.1 |
source | src |
created_at | 2020-09-19 02:50:12.941322 |
updated_at | 2020-09-19 03:14:23.990359 |
description | Logging interface implementing Heroku's logfmt. |
homepage | https://github.com/mcountryman/logfmt_logger |
repository | https://github.com/mcountryman/logfmt_logger |
max_upload_size | |
id | 290343 |
size | 442,516 |
Logger based off of env_logger using Heroku's logfmt as an output format.
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();
}