logging

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logging builds the application's slog logger from config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(level, format string) *slog.Logger

New returns a slog.Logger for the given level (debug|info|warn|error) and format ("json" default, or "text"). Logs go to stderr so they don't collide with the MCP protocol stream on stdout in stdio mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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