Documentation ¶
Overview ¶
Package trace provides convenience functions for interfacting with Trace instances within context.Contexts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LazyLog ¶
LazyLog is a light wrapper around golang.org/x/net/trace/Trace.LazyLog which extracts the Trace instance from ctx and calls LazyLog on it. If no Trace instance is attached to the context then this method returns immediately.
func LazyPrintf ¶
LazyPrintf is a light wrapper around golang.org/x/net/trace/Trace.LazyPrintf which extracts a Trace instance from ctx and calls LazyPrintf on it. If no Trace instance is attached to the context then this method returns immediately.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.