Documentation ¶
Index ¶
- func AddLog(l1 _log.Logger)
- func Error(str string, args ...interface{})
- func Fatal(str string, args ...interface{})
- func GetLogger(i ...int) _log.Logger
- func Info(str string, args ...interface{})
- func InitLog(lvl LogLevel, json, color bool)
- func Log(field map[string]interface{})
- func ParseDuration(isoDuration string) time.Duration
- func Thousands(num int) string
- type LogLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDuration ¶
ParseDuration parses an ISO 8601 string representing a duration, and returns the resultant golang time.Duration instance.
Types ¶
Click to show internal directories.
Click to hide internal directories.