proxy.golang.org : github.com/nikoksr/onelog
Package onelog is a general-purpose logging interface heavily inspired by the zerolog API. It is designed to provide a user-friendly API for diverse logging requirements. This package supports a wide range of data types and log levels, creating flexibility for various use cases. onelog includes adapters for several commonly used loggers, enabling easy integration and compatibility with existing logging methodologies. It reduces the friction associated with logging setup and promotes consistency in logging across different parts of a project or across different projects. Here is a brief example using the zapadapter and slogadapter: package main import ( )
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/nikoksr/onelog
Keywords:
go
, golang
, hacktoberfest
, logger-interface
, logging
License: MIT
Latest release: over 2 years ago
First release: over 2 years ago
Namespace: github.com/nikoksr
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago