level

package
v3.32.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TRACE = Level(iota)
	DEBUG
	INFO
	WARN
	ERROR
	FATAL

	QUIET
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level int

func FromString

func FromString(l string) Level

func (Level) BoldColor

func (l Level) BoldColor() string

func (Level) Color

func (l Level) Color() string

func (Level) String

func (l Level) String() string

type Mapper

type Mapper interface {
	MapLogLevel(level Level) Level
}

Jump to

Keyboard shortcuts

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