Documentation
¶
Overview ¶
Package debuglog is the git-remote-entire helper's shared debug logger.
Output is gated on ENTIRE_DEBUG: when unset, Printf is a no-op (and Enabled returns false so callers can skip work that only matters for a debug trace, e.g. dumping HTTP request bodies).
The prefix is fixed because the binary that uses these internals is also fixed — the package lives under internal/, so its callers are known.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Enabled ¶
func Enabled() bool
Enabled reports whether debug output is on. Callers should gate any expensive preparation (request dumps, body buffering) behind this.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.