package
Version:
v0.0.0-...-1f8a15b
Opens a new window with list of versions in this module.
Published: Dec 12, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package testlog provides a log handler for unit tests.
func Handler(t *testing.T, level log.Lvl) log.Handler
Handler returns a log handler which logs to the unit test log of t.
func Logger(t *testing.T, level log.Lvl) log.Logger
Logger returns a logger which logs to the unit test log of t.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.