internal

package
v2.0.0-rc.21 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGlobalTracer

func GetGlobalTracer[T tracerLike]() T

GetGlobalTracer returns the current global tracer. It is the responsability of the caller to ensure that calling code uses `tracer.Tracer` as generic type.

func SetGlobalTracer

func SetGlobalTracer[T tracerLike](t T)

SetGlobalTracer sets the global tracer to t. It is the responsibility of the caller to ensure that the value is `tracer.Tracer`.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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