env_logger
env_logger copied to clipboard
A logging implementation for `log` which is configured via an environment variable.
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/rust-cli/env_logger). This repository currently has no open or...
https://nodejs.org/docs/latest/api/util.html#utildebuglogsection-callback env `NODE_DEBUG=foo*` is able to match section `foo-bar` --- Would be nice to have star matching, instead of literal matching. For example, if one named `john`, he may set...
When using `Target::Pipe` to log to a file (or another similar buffered output interface), the fact that we flush after each line causes a significant slowdown. It would be awesome...
Priority issues between environment variable `RUST_LOG` and function call `filter_level` / `filter`.
Environment variable `RUST_LOG` can only used to set "default policy", which means if `filter_level(level)` or `filter(None, level)` (they are practically equivalent) called at logger init, then environment variable `RUST_LOG` will...
The default message format will print: ``` [2021-12-22T08:22:29Z TRACE mymodule] ``` When disable the target (module), there is an extra space before the `]`. ``` [2021-12-22T08:19:55Z INFO ] ^ here...
Hi! I'm currently stuck at configuring the logger. By default, if I write the following code: ```rust // module: example error!("YOH"); error!(target: "a", "YOH"); ``` It will display: ``` [2022-10-19T11:08:47Z...
I might be wrong, but the systemd example (added in #157) overloads `RUST_LOG_STYLE`. Since that is parsed internally by env_logger, I think the example is suboptimal; it would be better...
Maybe related: #214. I don't know if we can do anything about it, but I just wasted 10 minutes understanding why my logs no longer worked under Windows. It might...
Printing timestamp in local timezone is more useful than UTC.