debug

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Enabled = false
View Source
const Ptrace = false

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(prefix string) *Logger

func NewLoggerIf

func NewLoggerIf(prefix string, enabled bool) *Logger

func (*Logger) Output

func (dbg *Logger) Output(s string)

func (*Logger) Printf

func (dbg *Logger) Printf(format string, v ...any)

func (*Logger) Println

func (dbg *Logger) Println(v ...any)

Jump to

Keyboard shortcuts

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