Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Errorf ¶
Errorf prints a formated error (in red) to the console. Errorf returns an error built with the formated message.
func Logf ¶
Logf prints a formated log (in white) to the console. Logf does nothing if SHOW_LEVEL is not equal to SHOW_ALL. Logf returns an error built with the formated message.
Types ¶
type SHOW_LEVEL ¶
type SHOW_LEVEL uint
const ( SHOW_ALL SHOW_LEVEL = 0x00 SHOW_WARNERR SHOW_LEVEL = 0x01 SHOW_ERRONLY SHOW_LEVEL = 0x02 )
var Show SHOW_LEVEL
Click to show internal directories.
Click to hide internal directories.