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.
Click to show internal directories.
Click to hide internal directories.