Documentation
¶
Index ¶
- Constants
- func Close()
- func Debugf(format string, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func GetLevel() uint32
- func Infof(format string, args ...interface{})
- func SetLevel(v uint32)
- func SetOutput(out io.Writer)
- func Warnf(format string, args ...interface{})
- type Fields
- type LogWriter
- type Logger
- type Sender
Constants ¶
View Source
const ( LevelError uint32 LevelWarn LevelInfo LevelDebug )
nolint: golint
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogWriter ¶ added in v1.3.0
type LogWriter interface { Fatalf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Warnf(format string, args ...interface{}) Infof(format string, args ...interface{}) Debugf(format string, args ...interface{}) }
LogWriter writer interface
func WithFields ¶ added in v1.3.0
WithFields setter context to log message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.