package
0.0.0-20231212030111-86af83068773
Repository: https://github.com/blastchain/blast.git
Documentation: pkg.go.dev

# 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.

This fork also made minor modifications:

  • Enable color by default.
  • Add estimateInfoLen and use this for message padding in flush() to align the contents of the log entries, compensating for the different lengths of the log decoration that the Go library adds.

# Functions

No description provided by the author
Handler returns a log handler which logs to the unit test log of t.
Logger returns a logger which logs to the unit test log of t.

# Structs

CapturingHandler provides a log handler that captures all log records and optionally forwards them to a delegate.
No description provided by the author

# Interfaces

Testing interface to log to.