level

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level added in v0.1.0

type Level int8
const (
	Off Level = iota
	Error
	Warning
	Info
	Debug
	Default = Warning
)

func Parse added in v0.2.0

func Parse(v string) (Level, error)

func (Level) MarshalJSON added in v0.2.2

func (l Level) MarshalJSON() ([]byte, error)

func (Level) String added in v0.2.0

func (l Level) String() string

func (*Level) UnmarshalJSON added in v0.2.0

func (l *Level) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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