Commit Graph

1 Commits (f651c5d68e0fccf678f6e22b5e4e99ed831a966e)

Author SHA1 Message Date
Stephen J Day d8ac79f643 Contextual tracing support for logs
This adds WithTrace function to the context package that allows users to trace
a time span between a trace allocation and returned function call. The
resulting context includes ids that will allow for future dapper-like analysis.

Please see the godoc addition for details.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-10 16:42:30 -07:00