Top 1.0% dependent packages on proxy.golang.org
Top 1.8% dependent repos on proxy.golang.org
proxy.golang.org : github.com/smartystreets/logging
package logging implements a Logger that, when nil, forwards to the corresponding functions in the standard log package. When not nil, it captures log calls in a buffer for later inspection. This can be useful when needing to inspect or squelch log output from test code. The main advantage to this approach is that it is not necessary to provide a non-nil instance in 'constructor' functions or wireup for production code. It is also still trivial to set a non-nil reference in test code.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/smartystreets/logging
License: MIT
Latest release: about 5 years ago
First release: almost 6 years ago
Namespace: github.com/smartystreets
Dependent packages: 24
Dependent repositories: 9
Stars: 4 on GitHub
Forks: 0 on GitHub
Docker dependents: 1
Docker downloads: 15
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago