Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewObserved ¶ added in v1.2.11
func NewObserved(t TestingT) (log.Logger, *observer.ObservedLogs)
NewObserved makes a new test logger that both logs to `t` and collects logged events for asserting in tests.
Types ¶
Click to show internal directories.
Click to hide internal directories.