logging

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(level, format string, extra ...slog.Handler) *slog.Logger

Setup creates a structured slog.Logger and installs it as the global default. Any additional slog.Handlers (e.g. an OTEL log bridge) can be appended via the extra variadic parameter. Log records are sent to all handlers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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