common

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Functions added in v0.59.0

func Functions() map[string]interface{}

func ParseSpanID added in v0.56.0

func ParseSpanID(spanIDStr string) (pcommon.SpanID, error)

func ParseTraceID added in v0.56.0

func ParseTraceID(traceIDStr string) (pcommon.TraceID, error)

Types

type TQLLogger added in v0.60.0

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

func NewTQLLogger added in v0.60.0

func NewTQLLogger(logger *zap.Logger) TQLLogger

func (TQLLogger) Error added in v0.60.0

func (tqll TQLLogger) Error(msg string)

func (TQLLogger) Info added in v0.60.0

func (tqll TQLLogger) Info(msg string)

func (TQLLogger) WithFields added in v0.60.0

func (tqll TQLLogger) WithFields(fields map[string]any) tql.Logger

WithFields creates a new logger that will include the specified fields in all subsequent logs in addition to fields attached to the context of the parent logger. Note that fields are not deduplicated.

Jump to

Keyboard shortcuts

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