slog icon indicating copy to clipboard operation
slog copied to clipboard

Structured, contextual, extensible, composable logging for Rust

Results 58 slog issues
Sort by recently updated
recently updated
newest added

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")),...

C-feature-request
slog-scope

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...

C-feature-request

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==...

P-low
slog-scope

The syslog dependency is outdated and there is a new version.

PRs needed :)
P-low
slog-syslog

Title says it. Just thought I'd leave a tip. https://crates.io/crates/slog

P-high
C-docs

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:...

P-high
C-compatibility

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...

C-feature-request
slog-term

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,...

C-bug
P-low
slog-json

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...

C-feature-request