Commit Graph

1 Commits (38ee36eee464cc97b28aa2d7a9c1c9a689af4bb6)

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