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(ctx context.Context, v ...interface{})
- func (l *Logger) Errorf(ctx context.Context, format string, v ...interface{})
- func (l *Logger) Fatal(ctx context.Context, v ...interface{})
- func (l *Logger) Fatalf(ctx context.Context, format string, v ...interface{})
- func (l *Logger) Info(ctx context.Context, v ...interface{})
- func (l *Logger) Infof(ctx context.Context, format string, v ...interface{})
- func (l *Logger) JSONFormat(message string) map[string]interface{}
- func (l *Logger) Output(message string)
- func (l *Logger) Panic(ctx context.Context, v ...interface{})
- func (l *Logger) Panicf(ctx context.Context, 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.