logging

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package logging configures the process-wide slog logger per ARCHITECTURE engineering standards: structured fields, level-correct semantics, no interpolated strings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupDefault

func SetupDefault(level string) *slog.LevelVar

SetupDefault installs a JSON slog handler on os.Stderr as the package default logger. Returns the handler's level so callers can adjust dynamically if needed (v0 does not).

Types

This section is empty.

Jump to

Keyboard shortcuts

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