Documentation
¶
Index ¶
- Constants
- func Debug(v interface{})
- func Debugf(s string, v ...interface{})
- func Error(v interface{})
- func Errorf(s string, v ...interface{})
- func Info(v interface{})
- func Infof(s string, v ...interface{})
- func SetLevel(level Level)
- func Warn(v interface{})
- func Warnf(s string, v ...interface{})
- type Level
- type Logger
Constants ¶
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Debug(v interface{})
Info(v interface{})
Warn(v interface{})
Error(v interface{})
Debugf(s string, v ...interface{})
Infof(s string, v ...interface{})
Warnf(s string, v ...interface{})
Errorf(s string, v ...interface{})
WithField(k string, v interface{}) Logger
WithFields(kv map[string]interface{}) Logger
Caller(skip ...int) Logger
GetLevel() Level
SetLevel(level Level)
}
func NewWithLevel ¶
func WithFields ¶
Click to show internal directories.
Click to hide internal directories.
