testlog

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() log.Interface

New logger for testing. You can set the log level for a given test by using the --log=<pattern> flag. For example, `go test ./... --log=debug` will run tests with debug logs on.

func Pattern

func Pattern() string

Pattern returns the log level pattern so we can pass it through arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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