SITE CAPTUREBased on information published on the service's website. Selection and review policy
WHAT IT DOES
What does it do?
dllog works alongside existing loggers and supports log/slog and zap. It discards debug records for successful tasks and outputs buffered records before the error for failed tasks. Each task's ring buffer holds 256 records by default and removes the oldest first. Go 1.24 or later is required.
KEY FEATURES
Key features
- Keep debug logs in a buffer for each task
- Replay debug records with their original timestamps on failure
- Discard buffered debug records on success
- Integrate with log/slog and zap
- Use a size-limited ring buffer holding 256 records by default