Documentation ¶
Index ¶
- Constants
- type Logger
- func (l *Logger) CtxDebugf(ctx context.Context, format string, v ...any)
- func (l *Logger) CtxErrorf(ctx context.Context, format string, v ...any)
- func (l *Logger) CtxFatalf(ctx context.Context, format string, v ...any)
- func (l *Logger) CtxInfof(ctx context.Context, format string, v ...any)
- func (l *Logger) CtxNoticef(ctx context.Context, format string, v ...any)
- func (l *Logger) CtxTracef(ctx context.Context, format string, v ...any)
- func (l *Logger) CtxWarnf(ctx context.Context, format string, v ...any)
- func (l *Logger) Debug(v ...any)
- func (l *Logger) Debugf(format string, v ...any)
- func (l *Logger) Error(v ...any)
- func (l *Logger) Errorf(format string, v ...any)
- func (l *Logger) Fatal(v ...any)
- func (l *Logger) Fatalf(format string, v ...any)
- func (l *Logger) Info(v ...any)
- func (l *Logger) Infof(format string, v ...any)
- func (l *Logger) Logger() *slog.Logger
- func (l *Logger) Notice(v ...any)
- func (l *Logger) Noticef(format string, v ...any)
- func (l *Logger) SetLevel(level hlog.Level)
- func (l *Logger) SetOutput(writer io.Writer)
- func (l *Logger) Trace(v ...any)
- func (l *Logger) Tracef(format string, v ...any)
- func (l *Logger) Warn(v ...any)
- func (l *Logger) Warnf(format string, v ...any)
- type Option
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger slog impl
func (*Logger) CtxNoticef ¶
Click to show internal directories.
Click to hide internal directories.