fern icon indicating copy to clipboard operation
fern copied to clipboard

Simple, efficient logging for Rust

Results 50 fern issues
Sort by recently updated
recently updated
newest added

I saw a similar question about truncating log, but I want to create a new log file once reaches 20MB or some other metric (keeping the previous). is there a...

enhancement

This is in the `lib.rs` doc-comment. Should be "from another crate."

Some producers, such as `tracing`, don't have useful information in the log target, but do populate the log module: see https://github.com/daboross/fern/issues/85. While filtering based on target should be the default,...

enhancement

See #83. At the moment, I'm trying to get rid of all large enums and replace them with traits or something else suitable. I'm not sure where I'm actually heading...

`colored::Colorize` will specifically not color things if `NO_COLOR` env variable is set, or other conditions per [`ShouldColorize`](https://docs.rs/colored/latest/colored/control/struct.ShouldColorize.html). We ignore this, and thus have inconsistency. As of https://github.com/daboross/fern/pull/99, we also patch...

Hello, I am building a test script in rust to test the hardware on some devices i own. The script starts off with creating a root logger in a logs/root...

[Original Post](https://www.reddit.com/r/learnprogramming/comments/r1rty9/do_emojis_and_colored_lines_in_bash_look_weird_on/) I migrate one of my terminal apps to Rust. I color my logging lines depending on the the logging level. I also wanted to use emojis. However, it...

> ``` > [2019-09-29 22:37:40][INFO ][test] Hello, world! > [2019-09-29 22:37:40][WARN ][test] Hello, world! > [2019-09-29 22:37:40][ERROR][test] Hello, world! > ``` Is there a way to prevent fern from writing...

question

Hi, I've set up logs coloration and output, and have this: ``` 2020/01/22 22:08:21 INFO [lucid::server] Running Lucid server on 127.0.0.1:7021 | PID: 48400 2020/01/22 22:08:21 INFO [lucid::server] Lucid API...

When using out logging crates, having the possibility to set a custom log format is nice, but being required to do so every time is rather tedious. The current default...