noop

package
v0.0.0-...-e050086 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

type Sink struct {
	// contains filtered or unexported fields
}

Sink describes a noop tracer sink

func New

func New(log *zap.SugaredLogger) Sink

New initiated noop tracer sink

func (Sink) GetLoggableTraceContext

func (Sink) GetLoggableTraceContext(span trace.Span) []interface{}

func (Sink) GetProvider

func (d Sink) GetProvider() trace.TracerProvider

func (Sink) GetSinkName

func (d Sink) GetSinkName() string

GetSinkName returns the name of the sink

func (Sink) Stop

func (d Sink) Stop() error

Stop returns nil

Jump to

Keyboard shortcuts

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