Versions in this module Expand all Collapse all v1 v1.0.9 Apr 20, 2018 Changes in this version + var AuthRequest = func(req *http.Request) (any, sensitive bool) + var DebugUseAfterFinish = false + func NewContext(ctx context.Context, tr Trace) context.Context + func Render(w io.Writer, req *http.Request, sensitive bool) + func RenderEvents(w http.ResponseWriter, req *http.Request, sensitive bool) + type EventLog interface + Errorf func(format string, a ...interface{}) + Finish func() + Printf func(format string, a ...interface{}) + func NewEventLog(family, title string) EventLog + type Trace interface + Finish func() + LazyLog func(x fmt.Stringer, sensitive bool) + LazyPrintf func(format string, a ...interface{}) + SetError func() + SetMaxEvents func(m int) + SetRecycler func(f func(interface{})) + SetTraceInfo func(traceID, spanID uint64) + func FromContext(ctx context.Context) (tr Trace, ok bool) + func New(family, title string) Trace