Documentation ¶
Index ¶
Constants ¶
View Source
const ( COLOR_RESET = "\033[0m" COLOR_GREEN = "\033[1;32m" COLOR_RED = "\033[1;31m" COLOR_PINK = "\033[1;35m" )
View Source
const (
// LVerbose 显示详细日志信息
LVerbose = 1 << 10
)
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(format string, vals ...interface{})
Debug print logging info at level DEBUG, if flag verbose true, filename and lineno will be logged.
func Error ¶
func Error(format string, vals ...interface{})
Error print logging info at level ERROR, if flag verbose true, filename and lineno will be logged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.