Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultInfoColor = color.New(color.FgCyan) DefaultDebugColor = color.New(color.FgMagenta) DefaultTimeColor = color.New(color.FgYellow) )
Default colors for info and debug messages and the time format string.
Functions ¶
func WithDebugColor ¶
WithDebugColor sets the color of the debug tag.
func WithInfoColor ¶
WithInfoColor sets the color of the info tag.
func WithTimeColor ¶
WithTimeColor sets the color of the time string.
func WithTimeFormat ¶
WithTimeFormat sets the time format string.
Types ¶
Click to show internal directories.
Click to hide internal directories.