Documentation ¶
Index ¶
- Constants
- func BuildLogger(level string)
- func RandStringRunes(n int) string
- func SetToken(username string, Id uint) (string, error)
- func Start_log()
- type Logger
- func (ll *Logger) Debug(format string, v ...interface{})
- func (ll *Logger) Error(format string, v ...interface{})
- func (ll *Logger) Info(format string, v ...interface{})
- func (ll *Logger) Panic(format string, v ...interface{})
- func (ll *Logger) Println(msg string)
- func (ll *Logger) Warning(format string, v ...interface{})
- type MyClaims
Constants ¶
View Source
const ( // LevelError 错误 LevelError = iota // LevelWarning 警告 LevelWarning // LevelInformational 提示 LevelInformational // LevelDebug 除错 LevelDebug )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.