Documentation
¶
Overview ¶
Package testlogger wires a zerolog.Logger into testing.T/B so that production code's own log lines (session lifecycle, verification, migrations, etc.) show up correctly attributed to the (sub)test that triggered them -- hidden on pass, surfaced automatically on failure or with `go test -v` -- instead of being silenced or dumped raw to stdout.
This package is exported (not under internal/) so consumers of this SDK can inject the same t.Log-routed logger into their own tests via relay.WithLogger / relay.WithEventStoreLogger, not just nmilat's own test suite.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.