logger

package
v0.0.0-...-585669d Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LogLevelError will output only errors
	LogLevelError = iota
	// LogLevelWarning will output warnings and all above
	LogLevelWarning
	// LogLevelInfo will output infos and all above
	LogLevelInfo
	// LogLevelDebug will output all information
	LogLevelDebug
)

Variables

This section is empty.

Functions

func HTTPLogger

func HTTPLogger(inner http.Handler, name string) http.Handler

HTTPLogger is logging values

func LogDebug

func LogDebug(message string)

LogDebug will output information on info verbosity level

func LogError

func LogError(message error)

LogError will output information on info verbosity level

func LogFatal

func LogFatal(err error)

LogFatal is a wrapper for log.Fatal

func LogInfo

func LogInfo(message string)

LogInfo will output information on info verbosity level

func LogWarning

func LogWarning(message string)

LogWarning will output information on info verbosity level

Types

This section is empty.

Jump to

Keyboard shortcuts

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