Documentation ¶
Index ¶
Constants ¶
View Source
const LOG_LEVEL_CRITICAL = 0
View Source
const LOG_LEVEL_DEBUG = 3
View Source
const LOG_LEVEL_ERROR = 1
View Source
const LOG_LEVEL_WARNING = 2
View Source
const LOG_LEVEL_WITH_STACK_TRACE = 4
Variables ¶
View Source
var LogLevel int64 = 3
Functions ¶
func Criticalf ¶
func Criticalf(msg string, args ...interface{})
Criticalf print always. Print color.
func Debugf ¶
func Debugf(msg string, args ...interface{})
Debugf print if debug mode is enabled. print no color
func Errorf ¶
func Errorf(msg string, args ...interface{})
Errorf print if error is enabled. Print color.
func PrettyPrint ¶
func PrettyPrint(v interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.