docker/distrubtion has a pretty nice context package with a WithTrace func for doing dapper-like traces. I think we could borrow some of what they're doing and bring it in here. I particularly like that integration with logging, allowing context objects to be accessed with . delimited strings, and being able to get a new logger with key value pairs from context keys.
docker/distrubtion has a pretty nice context package with a WithTrace func for doing dapper-like traces. I think we could borrow some of what they're doing and bring it in here. I particularly like that integration with logging, allowing context objects to be accessed with
.delimited strings, and being able to get a new logger with key value pairs from context keys.