# Functions
Component sets the 'component' tag according to the provided value.
CtxWith creates a new span and attaches it to the context, it also sets the debug id of the logger and the span id and attaches the logger to the context.
Error sets the 'error' and 'error.msg' tags according to the provided error.
IDFromCtx reads the tracing ID from the context.
LoggerWith attaches the trace ID if the context contains a span.
ResultLabel sets the operation result label on the span.
StartSpanFromCtx wraps opentracing.StartSpanFromContext for convenience.