debug

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Enabled reports whether debug output is currently turned on.

func Init

func Init(on bool)

Init turns debug output on or off for the current run.

func Log

func Log(format string, args ...any)

Log writes one line to stderr, prefixed "debug", when debug output is enabled. It is a no-op otherwise. Args follow fmt.Sprintf conventions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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