package
9.20.6+incompatible
Repository: https://github.com/alperrehayazgan/postgresbase.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.