Documentation ¶
Index ¶
- type DefaultLogger
- func (d *DefaultLogger) Error(args ...any)
- func (d *DefaultLogger) ErrorCtx(ctx context.Context, args ...any)
- func (d *DefaultLogger) Errorf(format string, args ...any)
- func (d *DefaultLogger) Info(args ...any)
- func (d *DefaultLogger) InfoCtx(ctx context.Context, args ...any)
- func (d *DefaultLogger) Infof(format string, args ...any)
- func (d *DefaultLogger) Warning(args ...any)
- func (d *DefaultLogger) WarningCtx(ctx context.Context, args ...any)
- func (d *DefaultLogger) Warningf(format string, args ...any)
- type Logger
- type Module
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultLogger ¶
type DefaultLogger struct{}
func (*DefaultLogger) Error ¶
func (d *DefaultLogger) Error(args ...any)
func (*DefaultLogger) ErrorCtx ¶ added in v1.7.0
func (d *DefaultLogger) ErrorCtx(ctx context.Context, args ...any)
func (*DefaultLogger) Errorf ¶
func (d *DefaultLogger) Errorf(format string, args ...any)
func (*DefaultLogger) Info ¶
func (d *DefaultLogger) Info(args ...any)
func (*DefaultLogger) InfoCtx ¶ added in v1.7.0
func (d *DefaultLogger) InfoCtx(ctx context.Context, args ...any)
func (*DefaultLogger) Infof ¶
func (d *DefaultLogger) Infof(format string, args ...any)
func (*DefaultLogger) Warning ¶
func (d *DefaultLogger) Warning(args ...any)
func (*DefaultLogger) WarningCtx ¶ added in v1.7.0
func (d *DefaultLogger) WarningCtx(ctx context.Context, args ...any)
func (*DefaultLogger) Warningf ¶
func (d *DefaultLogger) Warningf(format string, args ...any)
type Logger ¶
type Logger interface { Info(args ...any) Infof(format string, args ...any) InfoCtx(ctx context.Context, args ...any) Warning(args ...any) Warningf(format string, args ...any) WarningCtx(ctx context.Context, args ...any) Error(args ...any) Errorf(format string, args ...any) ErrorCtx(ctx context.Context, args ...any) }
Click to show internal directories.
Click to hide internal directories.