Top 0.6% dependent packages on proxy.golang.org
Top 0.5% dependent repos on proxy.golang.org
Top 0.9% docker downloads on proxy.golang.org
proxy.golang.org : github.com/lestrrat/go-pdebug
Package pdebug provides tools to produce debug logs the way the author (Daisuke Maki a.k.a. lestrrat) likes. All of the functions are no-ops unless you compile with the `-tags debug` option. When you compile your program with `-tags debug`, no trace is displayed, but the code enclosed within `if pdebug.Enabled { ... }` is compiled in. To show the debug trace, set the PDEBUG_TRACE environment variable to true (or 1, or whatever `strconv.ParseBool` parses to true) If you want to show the debug trace regardless of an environment variable, for example, perhaps while you are debugging or running tests, use the `-tags debug0` build tag instead. This will enable the debug trace forcefully
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/lestrrat/go-pdebug
License: MIT
Latest release: over 7 years ago
First release: over 7 years ago
Namespace: github.com/lestrrat
Dependent packages: 71
Dependent repositories: 199
Stars: 0 on GitHub
Forks: 1 on GitHub
Docker dependents: 17
Docker downloads: 23,034
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/lestrrat
Last synced: 3 months ago