Documentation ¶
Index ¶
- Variables
- func AtLevel(level LogLevel) bool
- func Debug(tag string, msg string, args ...interface{})
- func Debugln(tag string, msg string, args ...interface{})
- func Error(tag string, msg string, args ...interface{})
- func Errorln(tag string, msg string, args ...interface{})
- func Info(tag string, msg string, args ...interface{})
- func Infoln(tag string, msg string, args ...interface{})
- func Log(level LogLevel, tag string, msg string, args ...interface{})
- func Logln(level LogLevel, tag string, msg string, args ...interface{})
- func SetLevel(level string)
- func SetTags(tags string)
- func Timed(titleColored, titleUncolored string, fn func())
- func Verbose(tag string, msg string, args ...interface{})
- func Verboseln(tag string, msg string, args ...interface{})
- func Warning(tag string, msg string, args ...interface{})
- func Warningln(tag string, msg string, args ...interface{})
- type LogLevel
Constants ¶
This section is empty.
Variables ¶
View Source
var LevelMap = map[string]LogLevel{ "debug": LevelDebug, "verbose": LevelVerbose, "info": LevelInfo, "warning": LevelWarning, "error": LevelError, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.