log4rs
log4rs copied to clipboard
A highly configurable logging framework for Rust
Currently, if you use the `file_appender` or `rolling_file_appender` features then this pulls `parking_lot` into the dependency tree. This PR would keep `parking_lot` as a default, but allow users to use...
Hey, this trait depends on typemap, which is unmaintained, and depends on unmaintained crate "unsafe-any", which depends on another unmaintained crate AND **[vulnerable](https://nvd.nist.gov/vuln/detail/CVE-2020-35881)** crate "traitobject". Are there any mitigation steps...
Implement a function: `log4rs::auto_init()` which does the following in order: look for env var `LOG4RS_CONFIG_FILE` try loading `./log4rs.yaml` fallback to console logging
Hi, I've made the following change to the example log_to_file.rs, to check if the behavior for log4rs initialization is the expected one, which is that, if there is already an...
Currently, I don't believe if you use the JSON encoder, you can format it, it would be awesome if this was the case.
In my simple yaml, I tried to add colorization for the pattern: ``` {h({d(%Y-%m-%d %H:%M:%S)} [{l:>4.1}])} {m} \t| %c:red({f}:{L})\n ``` or ``` {h({d(%Y-%m-%d %H:%M:%S)} [{l:>4.1}])} {m} \t| {c:red({f}:{L})}\n ``` both...
Hi, I would like to use log4rs and compile it to the target wasm32-wasi: ``` cargo build --target wasm32-wasi ``` Output: ``` error[E0425]: cannot find function `get_internal` in this scope...