log

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FxeventLogger

func FxeventLogger(ctx context.Context, logger *slog.Logger) fxevent.Logger

FxeventLogger returns an fxevent.Logger that uses slog. Regular fx lifecycle events are logged at DEBUG level (hidden by default), while errors are logged at ERROR level.

func Logger

func Logger(args []string) *slog.Logger

Logger returns a logger with level parsed from args. Pass os.Args[1:] from main.

Types

This section is empty.

Jump to

Keyboard shortcuts

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