proxy.golang.org : github.com/sean-/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:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/sean-/zerolog
License: MIT
Latest release: almost 8 years ago
First release: almost 8 years ago
Namespace: github.com/sean-
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago