util

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeforeAll

func BeforeAll(fns ...cli.BeforeFunc) cli.BeforeFunc

BeforeAll runs multiple BeforeFuncs in order

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