level

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Trace  = slog.Level(-8)
	Fatal  = slog.Level(12)
	Panic  = slog.Level(16)
	Silent = slog.Level(20)
)

Variables

This section is empty.

Functions

func LevelToString

func LevelToString(level slog.Level) string

func ParseLogLevel

func ParseLogLevel(value string) (slog.Level, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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