Latest / Developer tools

dlg

github.com · Package · Maintained

Go printf-style debugging that is removed from production builds

Visit github.com ↗Share

  • go debug print
  • go printf debugging
  • go build tag logging
  • go debug logger
  • remove debug logs go
Stars
165
Forks
2
Open issues
0
Last commit
Found
16 months ago

GitHub figures as of . They are context, not a ranking.

dlg is a minimal Go debugging library built around a single Printf function. Without the dlg build tag, the Go linker drops all of its calls, so debug output does not reach production binaries.

Repository description on GitHub: “Printf-Style Debugging with Zero-Cost in Production Builds”

What it does

  • Minimal Go debugging library built around a single Printf function
  • Logging calls compile to nothing without the dlg build tag
  • Runtime-configurable stack traces and colorized output
  • Custom writers made concurrency-safe by implementing sync.Locker

Good for

  • Add debug output to Go code that disappears from production builds
  • Debug a Go program without leaving logs in release binaries

Suits: Go developers who debug with printf-style output.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw dlg on , when 0xFEE1DEAD posted it to Show HN. GitHub listed no published releases for vvvvv/dlg when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 64 points, 39 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 64 points, 39 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: vvvvv/dlg
  2. Found: 0xFEE1DEAD posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was dlg released?
No dated release record is available. Kip found it on Show HN on 27 Jul 2025.
Is dlg open source?
Its source is public on GitHub at vvvvv/dlg under the BSD-3-Clause licence.
What does dlg run on?
Library.
Is dlg free?
It is open source, so the code is free to read and run; check the licence for terms.
Is dlg still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryvvvvv/dlg
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-44703210. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.