testutil

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestLogger

type TestLogger struct {
	*zap.Logger
	// contains filtered or unexported fields
}

func MakeLogger

func MakeLogger(t *testing.T, node ...int) *TestLogger

func (*TestLogger) Intercept

func (t *TestLogger) Intercept(hook func(entry zapcore.Entry) error)

func (*TestLogger) Silence

func (t *TestLogger) Silence()

func (*TestLogger) Trace

func (tl *TestLogger) Trace(msg string, fields ...zap.Field)

func (*TestLogger) Verbo

func (tl *TestLogger) Verbo(msg string, fields ...zap.Field)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL