Versions in this module Expand all Collapse all v1 v1.0.0 Apr 11, 2024 Changes in this version + func ContextWithTrace(ctx context.Context, trace *Trace) context.Context + type ContextTraceKey struct + type Field struct + Key string + Value interface{} + type Trace struct + func FromContext(ctx context.Context) *Trace + func New(name string, fields ...Field) *Trace + func (t *Trace) Log() + func (t *Trace) LogIfLong(threshold time.Duration) + func (t *Trace) Nest(msg string, fields ...Field) *Trace + func (t *Trace) Step(msg string, fields ...Field) + func (t *Trace) TotalTime() time.Duration