log4rs
log4rs copied to clipboard
A highly configurable logging framework for Rust
Looks like a straightforward upgrade. Let me know if you want me to change anything else!
The only formatter that the pattern encoder supports which affects text style is `highlight`, which colors based on the log level. It should be possible to also set the text...
Adds an option to roll the log files on startup. It is a different approach to @OvermindDL1's #219. --- ## Usage Examples ### with yaml: ```yaml refresh_rate: 30 seconds appenders:...
for example, if i'm writing log in file `src\log\mod.rs`, `{f:>8.8}` will log the following string: src\log\ it would be more helpful if it is logged as: og\mod.rs
I found that there are many `log4rs::config::raw::Deserialize` implementation. We can use [#[serde(flatten)]](https://serde.rs/field-attrs.html#flatten) and [#[serde(tag = "type")]](https://serde.rs/enum-representations.html#internally-tagged) to modify the configuration structure. Example: `LocalAppenders` Enum `Appender` is used to distinguish user...
(reopening from PR:#204, now includes tests and docs) Specifically this useful for dark console backgrounds where the default for 'Blue' for log level `INFO` is difficult to read. Most of...
Hey, Been looking through this, wanted to check and confirm that there isn't a way to do async writes for each record logged? Is that a feature that is going...
Global value for all threads output. Pattern argument: `XG`, `gmdc` * `{XG(node_id)}` - `node-win-554488715635` * `{XG(nonexistent_key)(no mapping)}` - `no mapping`
Is there a featrue to limit message len? e.g: 
Currently, whenever an appender is used this enables the `pattern_encoder` feature. This feature in turn pulls in `chrono`. This can be a bit frustrating for users if they are supplying...