env_logger icon indicating copy to clipboard operation
env_logger copied to clipboard

A logging implementation for `log` which is configured via an environment variable.

Results 48 env_logger issues
Sort by recently updated
recently updated
newest added

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...

enhancement

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...

enhancement
breaking-change

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...

question

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...

enhancement

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.

enhancement