Documentation ¶
Index ¶
- type Fields
- type Level
- type Logger
- func (l *Logger) Debug(ctx context.Context, v ...interface{})
- func (l *Logger) Debugf(ctx context.Context, format string, v ...interface{})
- func (l *Logger) Error(v ...interface{})
- func (l *Logger) Errorf(format string, v ...interface{})
- func (l *Logger) Fatal(v ...interface{})
- func (l *Logger) Fatalf(format string, v ...interface{})
- func (l *Logger) Info(v ...interface{})
- func (l *Logger) Infof(format string, v ...interface{})
- func (l *Logger) JSONFormat(message string) map[string]interface{}
- func (l *Logger) Output(message string)
- func (l *Logger) Panic(v ...interface{})
- func (l *Logger) Panicf(format string, v ...interface{})
- func (l *Logger) Warn(v ...interface{})
- func (l *Logger) Warnf(format string, v ...interface{})
- func (l *Logger) WithCaller(skip int) *Logger
- func (l *Logger) WithCallersFrames() *Logger
- func (l *Logger) WithContext(ctx context.Context) *Logger
- func (l *Logger) WithFields(f Fields) *Logger
- func (l *Logger) WithLevel(lvl Level) *Logger
- func (l *Logger) WithTrace() *Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) JSONFormat ¶
func (*Logger) WithCaller ¶
func (*Logger) WithCallersFrames ¶
func (*Logger) WithFields ¶
Click to show internal directories.
Click to hide internal directories.