Documentation
¶
Index ¶
- Constants
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func GetLogLevel() int
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func LogTypeToString(t int) (string, string)
- func SetColor(color bool)
- func SetLevel(level int)
- func SetLevelByString(level string)
- func StringToLogLevel(level string) int
- func Warning(v ...interface{})
- func Warningf(format string, v ...interface{})
Constants ¶
View Source
const ( LOG_FATAL = iota LOG_ERROR LOG_WARNING LOG_INFO LOG_DEBUG )
Variables ¶
This section is empty.
Functions ¶
func GetLogLevel ¶
func GetLogLevel() int
func LogTypeToString ¶
func SetLevelByString ¶
func SetLevelByString(level string)
func StringToLogLevel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.