Building Slogbox

(alexrios.me)

14 points | by zimpenfish 5 days ago ago

1 comments

  • zimpenfish 5 days ago 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