Documentation ¶
Index ¶
- Constants
- Variables
- func Crit(args ...interface{})
- func Critf(format string, args ...interface{})
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func SetFlags(flags int)
- func SetOutput(out io.Writer)
- func SetPrefix(prefix string)
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
Constants ¶
View Source
const ( MUTE = iota DEBUG INFO WARN CRITICAL ERROR = 99 )
Variables ¶
View Source
var Colors = map[int]color{ DEBUG: {ct.White, false}, INFO: {ct.Green, false}, WARN: {ct.Yellow, false}, CRITICAL: {ct.Red, true}, ERROR: {ct.Red, false}, }
View Source
var LogLevel = DEBUG
configurations
View Source
var Logger = l.New(defaultOutput, "", l.LstdFlags|l.Lshortfile)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.