package
Version:
v3.0.0-alpha5.0...-c974331
Opens a new window with list of versions in this module.
Published: Oct 30, 2024
License: LGPL-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.