Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced interface { Standard Debug(args ...interface{}) Debugf(format string, args ...interface{}) Debugln(args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Errorln(args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Infoln(args ...interface{}) Warn(args ...interface{}) Warnf(format string, args ...interface{}) Warnln(args ...interface{}) }
Advanced is an interface with commonly used log level methods.
type Contextual ¶
type Contextual interface { Advanced WithField(key string, value interface{}) Advanced WithFields(fields ...interface{}) Advanced }
Contextual is an interface that allows context addition to a log statement before calling the final print (message/level) method.
type Standard ¶
type Standard interface { Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) Fatalln(args ...interface{}) Panic(args ...interface{}) Panicf(format string, args ...interface{}) Panicln(args ...interface{}) Print(args ...interface{}) Printf(format string, args ...interface{}) Println(args ...interface{}) }
Standard is the interface used by Go's standard library's log package.
Click to show internal directories.
Click to hide internal directories.