Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Debugc(ctx context.Context, msg string, v ...any)
- func (l *Logger) Debugf(msg string, v ...any)
- func (l *Logger) Enable(lev level.Level)
- func (l *Logger) Errorc(ctx context.Context, msg string, v ...any)
- func (l *Logger) Errorf(msg string, v ...any)
- func (l *Logger) Fatalc(ctx context.Context, msg string, v ...any)
- func (l *Logger) Fatalf(msg string, v ...any)
- func (l *Logger) Infoc(ctx context.Context, msg string, v ...any)
- func (l *Logger) Infof(msg string, v ...any)
- func (l *Logger) IsDebug() bool
- func (l *Logger) PanicError(err error, v ...any)
- func (l *Logger) SetOutput(w io.Writer)
- func (l *Logger) Warnc(ctx context.Context, msg string, v ...any)
- func (l *Logger) Warnf(msg string, v ...any)
- type Option
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 NewWithHandler ¶
func (*Logger) PanicError ¶
Click to show internal directories.
Click to hide internal directories.