otel

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorHandler

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

func NewErrorHandler

func NewErrorHandler(l *zap.Logger) *ErrorHandler

func (*ErrorHandler) Handle

func (h *ErrorHandler) Handle(err error)

func (*ErrorHandler) SetLogger

func (h *ErrorHandler) SetLogger(l *zap.Logger)

type Logger

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

func NewLogger

func NewLogger(l *zap.Logger) Logger

func (Logger) Enabled

func (l Logger) Enabled(level int) bool

func (Logger) Error

func (l Logger) Error(err error, msg string, keysAndValues ...any)

func (Logger) Info

func (l Logger) Info(level int, msg string, keysAndValues ...any)

func (Logger) Init

func (l Logger) Init(info logr.RuntimeInfo)

func (Logger) WithName

func (l Logger) WithName(name string) logr.LogSink

func (Logger) WithValues

func (l Logger) WithValues(keysAndValues ...any) logr.LogSink

Directories

Path Synopsis
exporters
zap

Jump to

Keyboard shortcuts

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