Documentation
¶
Overview ¶
Package logtest provides a cosmossdk.io/log.Logger that records entries for assertions in tests.
Index ¶
- type Entry
- type Recorder
- func (r *Recorder) Debug(msg string, keyVals ...any)
- func (r *Recorder) Entries() []Entry
- func (r *Recorder) Error(msg string, keyVals ...any)
- func (r *Recorder) Impl() any
- func (r *Recorder) Info(msg string, keyVals ...any)
- func (r *Recorder) Warn(msg string, keyVals ...any)
- func (r *Recorder) With(keyVals ...any) log.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry is one recorded log call. KV holds the call's key/values merged over the context added with With.