logz

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package logz provides structured JSON logging with trace ID propagation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(level string) *slog.Logger

New creates a structured JSON logger at the given level. Accepted levels are "debug", "info", "warn", "error" (case-insensitive). Unrecognized levels default to "info".

Types

This section is empty.

Jump to

Keyboard shortcuts

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