Documentation
¶
Index ¶
- Variables
- func Debug(msgs ...interface{})
- func Debugf(format string, msgs ...interface{})
- func Error(msgs ...interface{})
- func Errorf(format string, msgs ...interface{})
- func Fatal(msgs ...interface{})
- func Fatalf(format string, msgs ...interface{})
- func Info(msgs ...interface{})
- func Infof(format string, msgs ...interface{})
- func Warning(msgs ...interface{})
- func Warningf(format string, msgs ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogDebug = 1 << 0 LogInfo = 1 << 1 LogWarning = 1 << 2 LogError = 1 << 3 LogFatal = 1 << 4 LogCode2Des = map[int]string{ LogDebug: "[DEBUG] ", LogInfo: "[INFO] ", LogWarning: "[WARNING] ", LogError: "[ERROR] ", LogFatal: "[FATAL] ", } LogDes2Code = map[string]int{ "debug": LogDebug, "info": LogInfo, "warning": LogWarning, "error": LogError, "fatal": LogFatal, } MySQLLogLevel = map[string]logger.LogLevel{ "silent": logger.Silent, "error": logger.Error, "warn": logger.Warn, "info": logger.Info, } )
constant map
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.