README ¶ testlog github.com/ethereum/go-ethereum/internal/testlog: a Go-ethereum util for logging in tests. Since we use the same logging, but as an external package, we have to move the test utility to our own internal package. Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ Package testlog provides a log handler for unit tests. Index ¶ func Handler(t *testing.T, level log.Lvl) log.Handler func Logger(t *testing.T, level log.Lvl) log.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Handler ¶ 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 ¶ func Logger(t *testing.T, level log.Lvl) log.Logger Logger returns a logger which logs to the unit test log of t. Types ¶ This section is empty. Source Files ¶ View all Source files testlog.go Click to show internal directories. Click to hide internal directories.