logfx

package
v0.0.0-...-5c18856 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("logfx",

	flagfx.Provide(
		func(fs *flag.FlagSet) *flags {
			var f flags
			fs.StringVar(&f.Level, "log-level", "info", "log level (e.g., debug, info, warn)")
			return &f
		},
	),

	fx.Provide(
		func(f *flags) LogLevel {
			return LogLevel(strings.ToLower(f.Level))
		},
	),
)

Functions

This section is empty.

Types

type LogLevel

type LogLevel string

Jump to

Keyboard shortcuts

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