Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.1% on proxy.golang.org
Top 3.4% dependent packages on proxy.golang.org
Top 3.5% dependent repos on proxy.golang.org
Top 8.4% forks on proxy.golang.org

proxy.golang.org : appliedgo.net/what

Instead of firing up the debugger and stepping through each line one-by-one, spread a few what calls across the code you want to inspect, then run the code and watch the output. Log output from what must be enabled through build tags. This ensures that your debug logging does not leak into production code and involuntarily exposes sensitive data to prying eyes. Use the log package for generating user-facing log output from production code. Enable what by passing "what" as a build tag: Enable only parts of what by passing the respective build tag: whathappens, whatis, whatfunc, or whatpackage. (Good for reducing noise, e.g by muting what.Func().) Functions that are not enabled by a build tag become no-ops. Enable what for particular packages only by setting the environment variable WHAT to a package name or a comma-separated list of package names: (Also good for reducing noise.)

Registry - Source - Documentation - JSON
purl: pkg:golang/appliedgo.net/what
Keywords: debugging, logging
License: BSD-3-Clause
Latest release: 5 months ago
First release: about 4 years ago
Namespace: appliedgo.net
Dependent packages: 6
Dependent repositories: 2
Stars: 77 on GitHub
Forks: 5 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 25 days ago

    Loading...
    Readme
    Loading...