package
0.5.0
Repository: https://github.com/jmalloc/ax.git
Documentation: pkg.go.dev

# Functions

Duration returns a log field containing a human-readable representation of d.
LogError logs an error to the span in ctx, if one is present.
LogErrorS logs an error to span and marks it as an error, if it is not nil.
LogEvent logs an event to the span in ctx, if one is present.
LogEventS logs an event to span, if it is not nil.
SetTag sets a tag on the span in ctx, if one is present.
SetTagS sets a tag on s, if it is not nil.
StartChildOf starts a new span as a child of the span in ctx, if any.
StartFollowsFrom starts a new span that follows from the span in ctx, if any.
StartSpan starts a new span using tr, or a NoopTracer if tr is nil.
Time returns a log field containing a human-readable representation of t.
TypeName returns a log field containing the name of v's type.