go-ethereum: github.com/ethereum/go-ethereum/internal/testlog Index | Files

package testlog

import "github.com/ethereum/go-ethereum/internal/testlog"

Package testlog provides a log handler for unit tests.

Index

Package Files

testlog.go

func Handler Uses

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 Uses

func Logger(t *testing.T, level log.Lvl) log.Logger

Logger returns a logger which logs to the unit test log of t.

Package testlog imports 3 packages (graph). Updated 2020-02-29. Refresh now. Tools for package owners.