Documentation ¶
Index ¶
- Constants
- func Print(function interface{}, a ...interface{})
- func PrintClass(a interface{})
- func PrintColor(co int, function interface{}, v ...interface{})
- func PrintError(function interface{}, v ...interface{})
- func PrintFatal(function interface{}, v ...interface{})
- func PrintInfo(function interface{}, v ...interface{})
- func PrintWarning(function interface{}, v ...interface{})
Constants ¶
View Source
const ( //ColorCyan text color ColorCyan = 0 //ColorGreen text color ColorGreen = 2 //ColorYellow text color ColorYellow = 3 //LogInfo log info level LogInfo = 0 //LogWarning log warring level LogWarning = 1 //LogError log error level LogError = 2 )
Variables ¶
This section is empty.
Functions ¶
func PrintColor ¶
func PrintColor(co int, function interface{}, v ...interface{})
PrintColor print info by IsPrint
func PrintError ¶
func PrintError(function interface{}, v ...interface{})
PrintError prints err msg to stdout.
func PrintFatal ¶
func PrintFatal(function interface{}, v ...interface{})
PrintFatal prints message and followed bt exit calling.
func PrintInfo ¶
func PrintInfo(function interface{}, v ...interface{})
PrintInfo print info by IsPrint
func PrintWarning ¶
func PrintWarning(function interface{}, v ...interface{})
PrintWarning print info by IsPrint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.