log

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

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