Documentation ¶
Index ¶
- type Fake
- func (f *Fake) Debug(msg string, ctx ...any)
- func (f *Fake) DebugCtx(_ context.Context, msg string, args ...any)
- func (f *Fake) Error(msg string, ctx ...any)
- func (f *Fake) FromContext(_ context.Context) log.Logger
- func (f *Fake) Info(msg string, ctx ...any)
- func (f *Fake) InfoCtx(_ context.Context, msg string, args ...any)
- func (f *Fake) Log(keyvals ...any) error
- func (f *Fake) New(ctx ...any) *log.ConcreteLogger
- func (f *Fake) Warn(msg string, ctx ...any)
- func (f *Fake) WarnCtx(_ context.Context, msg string, args ...any)
- type Logs
- type NopHandler
- type TestHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NopHandler ¶
type NopHandler struct{}
func NewNopHandler ¶
func NewNopHandler(t *testing.T) *NopHandler
type TestHandler ¶
type TestHandler struct {
// contains filtered or unexported fields
}
func NewTestHandler ¶
func NewTestHandler(t *testing.T) *TestHandler
Click to show internal directories.
Click to hide internal directories.