logging

package
v0.0.0-...-724c7a8 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: EUPL-1.2 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogLevelOff = 100
)

Variables

This section is empty.

Functions

func EnableTestLogger

func EnableTestLogger(t *testing.T) func()

EnableTestLogger is used to replace the current logger with one that writes to the one from the testing package when running Go tests.

func RestoreGlobals

func RestoreGlobals()

RestoreGlobals restores the default logger ans sugared logger for Uber's zap.

func SetLevel

func SetLevel(level zapcore.Level)

SetLevel sets the level of the logger globally.

Types

This section is empty.

Jump to

Keyboard shortcuts

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