debug

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DebugEnabled controls whether debug output is enabled
	DebugEnabled bool
	// DebugLogger is the logger used for debug output
	DebugLogger *log.Logger
)

Functions

func IsCommLogEnabled

func IsCommLogEnabled() bool

IsCommLogEnabled returns true if communication logging is enabled

func IsContextDebugEnabled

func IsContextDebugEnabled() bool

IsContextDebugEnabled returns true if context debugging is enabled

func IsTraceEnabled

func IsTraceEnabled() bool

IsTraceEnabled returns true if trace-level debugging is enabled

func Printf

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

Printf writes debug output if debug mode is enabled

func SetTUIMode

func SetTUIMode(enabled bool)

SetTUIMode disables debug output to avoid interfering with TUI

Types

This section is empty.

Jump to

Keyboard shortcuts

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