Documentation ¶
Overview ¶
Package log help to build trace context data into log plugins.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SkyWalkingContext ¶
type SkyWalkingContext struct { ServiceName string ServiceInstanceName string TraceID string TraceSegmentID string SpanID int32 }
func FromContext ¶
func FromContext(ctx context.Context) *SkyWalkingContext
FromContext from context for logging
func (*SkyWalkingContext) String ¶
func (context *SkyWalkingContext) String() string
Click to show internal directories.
Click to hide internal directories.