debugger

package
v0.0.0-...-8c998e4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Debugger

type Debugger struct {
	Key   string // Debugger key - should represent something where this debugger is embedded or used.
	Level uint8  // Level maps to different verbosity level, higher being more verbose
}

func NewDebugger

func NewDebugger(key string, level uint8) *Debugger

func (*Debugger) Debug

func (d *Debugger) Debug(level uint8, msg string, fields ...zap.Field)

func (*Debugger) Warn

func (d *Debugger) Warn(level uint8, msg string, fields ...zap.Field)

Jump to

Keyboard shortcuts

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