Building Slogbox

alexrios.me

9 points by zimpenfish 5 days ago


zimpenfish - 5 days ago

> a `slog.Handler` backed by a fixed-size ring buffer. You wire it up like any other handler, and it keeps the last N log records in memory for health checks, debug endpoints, or black box recording