logging

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLogLevel = slog.LevelInfo

Variables

View Source
var (
	// LogLevel Used for flags.
	LogLevel slog.Level
	// LogJSON Used for flags.
	LogJSON bool
)

Functions

func ConfigureLogger

func ConfigureLogger()

func ParseLogLevel

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

ParseLogLevel will convert the slog level configuration to slog.Level values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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