async-rs / async-log

Async tracing capabilities for the log crate
Apache License 2.0
98 stars 5 forks source link

key-value logging #4

Open yoshuawuyts opened 5 years ago

yoshuawuyts commented 5 years ago

Now that experimental key-value logging has landed in log (https://github.com/rust-lang-nursery/log/issues/328), we should look into using it for async-log.

This is currently blocked on having a way to actually log key-value entries, as the macros in log don't support this yet. I've asked a question about this in https://github.com/rust-lang-nursery/log/issues/328#issuecomment-513557680, which hopefully lead to a resolution where we can start logging key-value pairs!

yoshuawuyts commented 5 years ago

This mostly works now because of #5. The only piece missing is adding support to the #[instrument] macro.