Documentation ¶
Index ¶
- func Debug(msg string, keysAndValues ...interface{})
- func Error(err error, msg string, keysAndValues ...interface{})
- func Info(msg string, keysAndValues ...interface{})
- func ResetForTest()
- func SetLogger(l logr.Logger)
- func SetTextMapPropagator(p propagation.TextMapPropagator)
- func SetTracerProvider(tp trace.TracerProvider)
- func TextMapPropagator() propagation.TextMapPropagator
- func TracerProvider() trace.TracerProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶ added in v1.3.0
func Debug(msg string, keysAndValues ...interface{})
Debug prints messages about all internal changes in the API or SDK.
func Info ¶ added in v1.3.0
func Info(msg string, keysAndValues ...interface{})
Info prints messages about the general state of the API or SDK. This should usually be less then 5 messages a minute
func ResetForTest ¶
func ResetForTest()
ResetForTest restores the initial global state, for testing purposes.
func SetLogger ¶ added in v1.3.0
SetLogger overrides the globalLogger with l.
To see Info messages use a logger with `l.V(1).Enabled() == true` To see Debug messages use a logger with `l.V(5).Enabled() == true`
func SetTextMapPropagator ¶
func SetTextMapPropagator(p propagation.TextMapPropagator)
SetTextMapPropagator is the internal implementation for global.SetTextMapPropagator.
func SetTracerProvider ¶
func SetTracerProvider(tp trace.TracerProvider)
SetTracerProvider is the internal implementation for global.SetTracerProvider.
func TextMapPropagator ¶
func TextMapPropagator() propagation.TextMapPropagator
TextMapPropagator is the internal implementation for global.TextMapPropagator.
func TracerProvider ¶
func TracerProvider() trace.TracerProvider
TracerProvider is the internal implementation for global.TracerProvider.
Types ¶
This section is empty.