Documentation ¶ Index ¶ Constants func CanLog(level LogLevel) bool func Debug(msg string, args ...interface{}) func Error(msg string, args ...interface{}) func Info(msg string, args ...interface{}) func SetLevel(level LogLevel) func Warn(msg string, args ...interface{}) type LogLevel func (level LogLevel) String() string Constants ¶ View Source const ( LOG_NOTHING = LogLevel(iota) LOG_ERROR LOG_WARN LOG_INFO LOG_DEBUG ) Variables ¶ This section is empty. Functions ¶ func CanLog ¶ func CanLog(level LogLevel) bool func Debug ¶ func Debug(msg string, args ...interface{}) func Error ¶ func Error(msg string, args ...interface{}) func Info ¶ func Info(msg string, args ...interface{}) func SetLevel ¶ func SetLevel(level LogLevel) func Warn ¶ func Warn(msg string, args ...interface{}) Types ¶ type LogLevel ¶ type LogLevel uint8 func (LogLevel) String ¶ func (level LogLevel) String() string Source Files ¶ View all Source files log.go Click to show internal directories. Click to hide internal directories.