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.
Click to show internal directories.
Click to hide internal directories.