Documentation
¶
Index ¶
- type MemoryLogger
- func (m *MemoryLogger) Count() int
- func (m *MemoryLogger) Error(args ...any)
- func (m *MemoryLogger) ErrorCtx(ctx context.Context, args ...any)
- func (m *MemoryLogger) Errorf(format string, args ...any)
- func (m *MemoryLogger) Info(args ...any)
- func (m *MemoryLogger) InfoCtx(ctx context.Context, args ...any)
- func (m *MemoryLogger) Infof(format string, args ...any)
- func (m *MemoryLogger) Reset()
- func (m *MemoryLogger) Warning(args ...any)
- func (m *MemoryLogger) WarningCtx(ctx context.Context, args ...any)
- func (m *MemoryLogger) Warningf(format string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryLogger ¶
MemoryLogger is an in memory logger for tests.
func (*MemoryLogger) Count ¶
func (m *MemoryLogger) Count() int
func (*MemoryLogger) Error ¶
func (m *MemoryLogger) Error(args ...any)
func (*MemoryLogger) ErrorCtx ¶ added in v1.7.0
func (m *MemoryLogger) ErrorCtx(ctx context.Context, args ...any)
func (*MemoryLogger) Errorf ¶
func (m *MemoryLogger) Errorf(format string, args ...any)
func (*MemoryLogger) Info ¶
func (m *MemoryLogger) Info(args ...any)
func (*MemoryLogger) InfoCtx ¶ added in v1.7.0
func (m *MemoryLogger) InfoCtx(ctx context.Context, args ...any)
func (*MemoryLogger) Infof ¶
func (m *MemoryLogger) Infof(format string, args ...any)
func (*MemoryLogger) Reset ¶
func (m *MemoryLogger) Reset()
func (*MemoryLogger) Warning ¶
func (m *MemoryLogger) Warning(args ...any)
func (*MemoryLogger) WarningCtx ¶ added in v1.7.0
func (m *MemoryLogger) WarningCtx(ctx context.Context, args ...any)
func (*MemoryLogger) Warningf ¶
func (m *MemoryLogger) Warningf(format string, args ...any)
Click to show internal directories.
Click to hide internal directories.