log

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package log centralizes slog setup. CLI commands receive *slog.Logger from the root cobra command's PersistentPreRun.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(w io.Writer, verbose bool) *slog.Logger

New returns a JSON slog.Logger writing to w. If verbose is true, level is Debug; otherwise Info.

Types

This section is empty.

Jump to

Keyboard shortcuts

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