Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogHandler ¶
type LogHandler struct {
// contains filtered or unexported fields
}
LogHandler represents a testing logger implementing the inconshreveable/log15.v2 Handler interface.
func NewLogHandler ¶
func NewLogHandler(t *testing.T) *LogHandler
NewLogHandler returns a new LogHandler instance.
func (*LogHandler) Log ¶
func (h *LogHandler) Log(r *log15.Record) error
Log logs a log15.Record to the testing logger if the tests are run in verbose mode.
Click to show internal directories.
Click to hide internal directories.