logger

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorLvl           = 0
	WarningLvl         = 1
	InfoLvl            = 2
	ActionLvl          = 3
	KeysLvl            = 4
	KeysNotAssignedLvl = 5
	AnalogLvl          = 6

	DebugLvl = 378
)

Variables

View Source
var (
	Error           = zap.Int("level", ErrorLvl)
	Warning         = zap.Int("level", WarningLvl)
	Info            = zap.Int("level", InfoLvl)
	Action          = zap.Int("level", ActionLvl)
	Keys            = zap.Int("level", KeysLvl)
	KeysNotAssigned = zap.Int("level", KeysNotAssignedLvl)
	Analog          = zap.Int("level", AnalogLvl)

	Debug = zap.Int("level", 378)
)
View Source
var Messages = make(chan []byte, 128)

Functions

func GetLogger

func GetLogger() *zap.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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