Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveTime ¶
RemoveTime removes the top-level time attribute. It is intended to be used as a ReplaceAttr function, to make example output deterministic.
This is taken from slog/internal/slogtest.RemoveTime.
func TestContextWithLogger ¶
TestContextWithLogger returns a context with a logger to be used in tests
func TestLogger ¶
TestLogger gets a logger to use in unit and end to end tests
Types ¶
Click to show internal directories.
Click to hide internal directories.