slog-bridge

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

slog bridge example. Teams migrating to velocity don't have to rewrite everything at once. Wrap a velocity logger with NewSlogLogger, set it as the default, and existing slog.Info/Warn/Error calls just work. Structured attributes, groups, and level filtering all behave as expected.

Jump to

Keyboard shortcuts

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