Documentation
¶
Overview ¶
Package debug implements debug printing functionality.
Index ¶
Constants ¶
View Source
const ( Reset string = "\x1b[0m" DarkGray = "\x1b[30;1m" Red string = "\x1b[31;1m" Green string = "\x1b[32;1m" Yellow string = "\x1b[33;1m" Blue string = "\x1b[34;1m" Magenta string = "\x1b[35;1m" Cyan string = "\x1b[36;1m" White string = "\x1b[37;1m" Black = "\x1b[30m" DarkRed string = "\x1b[31m" DarkGreen string = "\x1b[32m" DarkYellow string = "\x1b[33m" DarkBlue string = "\x1b[34m" DarkMagenta string = "\x1b[35m" DarkCyan string = "\x1b[36m" Gray string = "\x1b[37m" )
debug color codes.
Variables ¶
View Source
var ( Enabled bool // set this to true to enable debug output Colorize bool // will be set to true if on a tty terminal ColorInfo = DarkGreen // color of the informational lead ColorMessage = Reset // color of the message. Default is no color ColorReset = Reset // reset the color back to normal after printing the message )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.