errlog

package
v0.56.11 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DebugOutput controls whether to output the trace of every error
	DebugOutput = false

	// loglevel used for sirupsen/logrus
	LogLevel logLevelFlagType = "info"
)

Functions

func GetLevelForGlog added in v0.54.0

func GetLevelForGlog() int

func LogError

func LogError(err error)

LogError logs an error, optionally with a tracelog

func SetLevel added in v0.53.1

func SetLevel(s string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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