level

package
v0.0.0-...-e4b44d9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level int
const (
	Trace   Level = -2
	Debug   Level = -1
	Info    Level = 0 // Zero Var
	Notice  Level = 1
	Warning Level = 2
	Error   Level = 3
)

func StringToLevel

func StringToLevel(level string) Level

func (Level) Level

func (level Level) Level() Level

type Var

type Var struct {
	// contains filtered or unexported fields
}

func (*Var) Level

func (v *Var) Level() Level

func (*Var) Set

func (v *Var) Set(level Level)

Jump to

Keyboard shortcuts

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