log

package
v0.0.0-...-f35223c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL