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

Top 5.4% on proxy.golang.org
Top 1.3% forks on proxy.golang.org

proxy.golang.org : 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.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/rs/%21zerolog
Keywords: golang , json , logging , structured-logging , zerolog
License: MIT
Latest release: about 1 month ago
First release: almost 8 years ago
Namespace: github.com/rs
Stars: 8,958 on GitHub
Forks: 512 on GitHub
Total Commits: 296
Committers: 128
Average commits per author: 2.313
Development Distribution Score (DDS): 0.554
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

    Loading...
    Readme
    Loading...