log

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 48

Documentation

Index

Constants

View Source
const (
	INFO     = "info"
	WARNING  = "warning"
	DEBUG    = "debug"
	ERROR    = "error"
	FATAL    = "fatal"
	CRITICAL = "critical"
)

Constants defined for the different log levels

Variables

This section is empty.

Functions

func SetDefaultLogLevel

func SetDefaultLogLevel(logLevel string, debug bool)

SetDefaultLogLevel sets the default log level

func SetLogLevel

func SetLogLevel(logLevel string, debug bool) error

SetLogLevel sets the log level

Types

This section is empty.

Jump to

Keyboard shortcuts

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