slog
slog copied to clipboard
Structured, contextual, extensible, composable logging for Rust
When tracing it's often useful to log various internal bytes such as messages being communicated. This adds `emit_bytes` method to make this easier and to possibly keep the type information....
Might be nice to have something like: ``` use slog_scope::*; new_scope!("key" => "value", || { info!("hi"); }); ``` that is shorthand for: ``` use slog_scope::*; with_logger(|logger| { scope(logger.new(o!("key" => "value")),...
Hi! I would like to use slog in a browser in such a way, that I could output "compact" mode there using all the console goodies, like `console.group` (so I...
Running valgrind on a program I have, I obtain a lot of these: ``` ==4175714== 16 bytes in 1 blocks are possibly lost in loss record 24 of 103 ==4175714==...
The syslog dependency is outdated and there is a new version.
Title says it. Just thought I'd leave a tip. https://crates.io/crates/slog
I noticed that `Key` is a type alias or a newtype depending on used features. This is a compatibility hazard. For example: Crate A: ```rust serializer.emit_arguments("foo", &format_args!("bar")) ``` Crate B:...
More a feature request than a bug, but it would be nice to have a way to log to a generic stream using the colors implemented in `slog_term::TermDecorator`. Right now...
I've noted this on the slog gitter, but raising an issue here to track the problem. If you log (using `error!`, `info!`, `warn!` or `debug!`) when implementing Debug or Display,...
I'm using slog in a new production microservice. We make some API calls, and I want to be able to configure log masking for sensitive fields. For example, I want...