Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Verbose bool
)
Functions ¶
Types ¶
type DebugMode ¶
type DebugMode int
DebugMode defines different levels of debug output: INFO (INFO), WARN, and ERROR. Each mode is associated with a specific color for terminal output.
The print() method returns a colored string label representing the mode, which is used by the Debug function to format debug messages with consistent styling.
Example output: INFO Application started WARN Cache miss ERROR Failed to connect to database
Click to show internal directories.
Click to hide internal directories.