log

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	Enabled bool
	W       io.Writer
}

Logger writes verbose diagnostic messages when Enabled is true. Output goes to the configured writer (typically stderr).

func (*Logger) Printf

func (l *Logger) Printf(format string, args ...any)

Printf writes a formatted message to W when Enabled is true. It is a no-op when Enabled is false.

Jump to

Keyboard shortcuts

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