slog
slog copied to clipboard
Structured, contextual, extensible, composable logging for Rust
The `ErrorValue` type wraps any `E: std::error::Error` to allow logging of the error and its source chain. But it requires `E` to also be `'static` (as does `Serializer::emit_error`). There's no...
Release `2.6.0` and `2.7.0` do not have git tags. I expected to find tags of `v2.6.0` and `v2.7.0` for the relevant releases.
`term::TermDecorator` could be faster on Linux by line-buffering its output instead of outputting many parts of the line with their own syscall. Diff I applied to the `term` crate (not...
# Problems ## Mutable scopes Typically applications are structured such that there is some scope (eg. a request, a transaction, etc.) in which we want to add some log keys....
The specified option are the defaults We could also remove `readme` since it auto-discovers but not sure if it is good to do that.
[`Infallible`](https://doc.rust-lang.org/std/convert/enum.Infallible.html) was introduced in Rust 1.34.0 as a stable substitute of `!`. Since `Never` was also created as a stable replacement of `!`, I think we should just make `Never`...
I figured having those hidden behind feature flags does more bad than good: the features are poorly supported and cause runtime panics from the surrounding infrastructure. This fractures the ecosystem...
Both https://github.com/slog-rs/term and https://github.com/slog-rs/envlogger have issues I'd like to report, however issues are disabled for those repos and there's no clear documentation on where to report issues besides the usual...
So I recently found out that I can't log `SerdeValue`s to `slog-term`'s drains. Would you be open to PRs implementing support for it?
Hello! I'm deriving `SerdeValue` for a struct, and I've got the project building. But when I try to log it out, I get a panic looking like this: https://gist.github.com/atroche/2db3b55ffa4eea524b2f7a5fbdb164c4 I've...