logging

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package logging configures the process-wide slog logger from the workflow's loggerLevel, with an optional CLI override.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(level string) *slog.Logger

Setup installs a text slog handler at the level derived from level (one of DEBUG/INFO/WARN/ERROR, case-insensitive). Unknown or empty values default to INFO. It returns the configured logger, which is also set as the default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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