console

package
v0.0.0-...-f05cc18 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: AGPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fallback

func Fallback(t telemetry.Telemeter, err error)

Fallback to console telemeter if the given telemeter is nil or err is not nil. Telemeter will be set to the global telemetry package.

Types

type Telemeter

type Telemeter struct{}

func (Telemeter) Close

func (t Telemeter) Close(ctx context.Context)

func (Telemeter) CounterInt

func (t Telemeter) CounterInt(meter, name, description string) (telemetry.Counter, error)

func (Telemeter) Logger

func (t Telemeter) Logger(ctx context.Context) telemetry.Logger

func (Telemeter) Trace

func (t Telemeter) Trace(ctx context.Context, tracer, name string) (context.Context, telemetry.Tracer)

Jump to

Keyboard shortcuts

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