configurable

package
v0.0.0-...-431bcb6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	log.Logger

	// WithCore is an internal API used to allow packages like logtest to hook into
	// underlying zap logger's core.
	WithCore(func(c zapcore.Core) zapcore.Core) log.Logger
}

Logger exposes internal APIs that must be implemented on github.com/sourcegraph/log.zapAdapter

func Cast

func Cast(l log.Logger) Logger

Cast provides a configurable logger API for testing purposes.

Jump to

Keyboard shortcuts

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