Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Context ¶
Context constructs traceId and spanId field from context.Context if a trace.SpanContext is present in the context value.
func SpanContext ¶
func SpanContext(spanCtx trace.SpanContext) zap.Field
SpanContext constructs traceId and spanId field from a trace.SpanContext if it has valid traceId and spanId.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.