util

package
v0.0.0-...-1e30a78 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LevelFlag

type LevelFlag slog.Level

LevelFlag is a urfave/cli compatible flag for setting the log verbosity level.

func FromSlogLevel

func FromSlogLevel(l slog.Level) *LevelFlag

func (*LevelFlag) Set

func (f *LevelFlag) Set(value string) error

func (*LevelFlag) String

func (f *LevelFlag) String() string

Jump to

Keyboard shortcuts

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