Debugger

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 4 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 {
	// contains filtered or unexported fields
}

func NewDebugger

func NewDebugger(logger *log.Logger) *Debugger

func (*Debugger) Close

func (d *Debugger) Close()

func (*Debugger) Print

func (d *Debugger) Print(v ...interface{})

func (*Debugger) Printf

func (d *Debugger) Printf(format string, v ...interface{})

func (*Debugger) Println

func (d *Debugger) Println(v ...interface{})

func (*Debugger) Start

func (d *Debugger) Start()

func (*Debugger) ToggleDebugMode

func (d *Debugger) ToggleDebugMode(active bool)

func (*Debugger) Wait

func (d *Debugger) Wait()

type PMType

type PMType int8
const (
	PM_Println PMType = iota
	PM_Printf
	PM_Print
)

type PrintMessage

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

func NewPrintMessage

func NewPrintMessage(pmType PMType, format string, v ...any) *PrintMessage

Jump to

Keyboard shortcuts

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