slog-buffer

module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT

README

slog-buffer

A Go library for buffered handling of slog.Record log entries. This project provides a configurable in-memory queue that collects log records and flushes them in batches to a user-defined destination.

Directories

Path Synopsis
pkg
handler
Package handler provides a buffered slog.Handler implementation that transforms log records and writes them to a provided store.
Package handler provides a buffered slog.Handler implementation that transforms log records and writes them to a provided store.
store
Package store provides a configurable batching memory queue for streaming data entries with periodic or size-based flushing to a user-provided Flusher.
Package store provides a configurable batching memory queue for streaming data entries with periodic or size-based flushing to a user-provided Flusher.
store/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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