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

github.com/rs/zeroLog

Package zerolog provides a lightweight logging library dedicated to JSON logging. A global Logger can be use for simple logging: NOTE: To import the global logger, import the "log" subpackage "github.com/rs/zerolog/log". Fields can be added to log messages: Create logger instance to manage different outputs: Sub-loggers let you chain loggers with additional context: Level logging Customize automatic field names: Log with no level and message: Add contextual fields to global Logger: Sample logs: Log with contextual hooks: There is no fields deduplication out-of-the-box. Using the same key multiple times creates new key in final JSON each time. However, it’s not a big deal though as JSON accepts dup keys, the last one prevails.

Ecosystem
proxy.golang.org
Latest Release
v1.34.0
12 months ago
Versions
52
Dependent Repos
1
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter
Filter by Kind
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/rs/zero%21log
spec
License MIT
Namespace github.com/rs
First Release almost 9 years ago
Last Synced about 13 hours ago
Repository
Stars 11,932 on GitHub
Forks 602 on GitHub
Commits 361
Committers 161
Avg per Author 2.242
DDS 0.615
Rankings on proxy.golang.org
Overall Top 3.8%
Dependent repos Top 4.8%
Forks Top 1.4%