logger

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package logger configures the global slog logger based on verbosity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(w io.Writer, verbose bool)

Setup configures the default slog logger. When verbose is true, messages at Debug level and above are emitted to w. When verbose is false, only Warn level and above are emitted, which effectively silences informational output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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