Documentation ¶
Index ¶
- Variables
- func Debug(s interface{})
- func Debugf(format string, s ...interface{})
- func Error(s interface{})
- func Errorf(format string, s ...interface{})
- func Fatal(s interface{})
- func Fatalf(format string, s ...interface{})
- func GetCaller() string
- func Info(s interface{})
- func Infof(format string, s ...interface{})
- type Level
- type Logger
- func (l *Logger) Debug(s interface{})
- func (l *Logger) Debugf(format string, s ...interface{})
- func (l *Logger) Error(s interface{})
- func (l *Logger) Errorf(format string, s ...interface{})
- func (l *Logger) Fatal(s interface{})
- func (l *Logger) Fatalf(format string, s ...interface{})
- func (l *Logger) Info(s interface{})
- func (l *Logger) Infof(format string, s ...interface{})
- func (l *Logger) WithContext(s map[string]string) *Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorLevel = Level{/* contains filtered or unexported fields */} InfoLevel = Level{/* contains filtered or unexported fields */} DebugLevel = Level{/* contains filtered or unexported fields */} )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.