loglevel

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Debug string = "debug"
	Info  string = "info"
	Warn  string = "warn"
	Error string = "error"
	Fatal string = "fatal"
	Panic string = "panic"
)

maps log level

Variables

This section is empty.

Functions

func DebugMode

func DebugMode(logLevel string) bool

func GetLogLevelMap

func GetLogLevelMap() map[string]bool

GetLogLevelMap returns a boolean value to verify if the log level exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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