package
0.0.0-20241030152356-8c950ad76724
Repository: https://github.com/hylarucoder/rocketbase.git
Documentation: pkg.go.dev

# Functions

NewBatchHandler creates a slog compatible handler that writes JSON logs on batches (default to 100), using the given options.

# Structs

BatchHandler is a slog handler that writes records on batches.
BatchOptions are options for the BatchHandler.
Log is similar to [slog.Record] bit contains the log attributes as preformatted JSON map.