logging

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logging builds the dashboard's diagnostic logger.

Logging is opt-in: New(false) returns a logger that discards everything, New(true) returns a text logger writing to stderr at INFO level.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(verbose bool) *slog.Logger

New returns the dashboard logger. When verbose is false the logger discards all output (no diagnostics are emitted). When true it writes text to stderr at INFO level (INFO/WARN/ERROR).

Types

This section is empty.

Jump to

Keyboard shortcuts

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