telemetry

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emitter

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

func New

func New(w io.Writer, level Level) *Emitter

func WithStatusHook added in v0.15.3

func WithStatusHook(e *Emitter, hook func(string)) *Emitter

func (*Emitter) Debug

func (e *Emitter) Debug(msg string)

func (*Emitter) DebugEnabled

func (e *Emitter) DebugEnabled() bool

func (*Emitter) Status

func (e *Emitter) Status(msg string)

type Level

type Level int
const (
	LevelDefault Level = iota
	LevelVerbose
	LevelQuiet
	LevelSilent
)

Jump to

Keyboard shortcuts

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