Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobheadxi/zapx
⚡️ Extensions, integrations, and wrappers for Uber's Zap logging library
https://github.com/bobheadxi/zapx
gcp golang graphql http logging middleware postgresql structured-logging zap
Last synced: 4 months ago
JSON representation
⚡️ Extensions, integrations, and wrappers for Uber's Zap logging library
- Host: GitHub
- URL: https://github.com/bobheadxi/zapx
- Owner: bobheadxi
- License: mit
- Created: 2019-04-24T01:17:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T23:13:17.000Z (over 4 years ago)
- Last Synced: 2024-06-21T00:22:48.797Z (8 months ago)
- Topics: gcp, golang, graphql, http, logging, middleware, postgresql, structured-logging, zap
- Language: Go
- Homepage: https://zapx.bobheadxi.dev/benchmarks
- Size: 1.73 MB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zapx
Extensions for [`uber-go/zap`](https://github.com/uber-go/zap), a structured
logging library for [Go](https://golang.org/).[![GoDoc](https://img.shields.io/badge/go.pkg.dev-reference-5272B4)](https://pkg.go.dev/go.bobheadxi.dev/zapx)
[![Build Status](https://dev.azure.com/bobheadxi/bobheadxi/_apis/build/status/bobheadxi.zapx?branchName=master)](https://dev.azure.com/bobheadxi/bobheadxi/_build/latest?definitionId=6&branchName=master)
[![Benchmark Status](https://github.com/bobheadxi/zapx/workflows/Benchmark/badge.svg)](https://zapx.bobheadxi.dev/benchmarks/)
[![Go Report Card](https://goreportcard.com/badge/go.bobheadxi.dev/zapx)](https://goreportcard.com/report/go.bobheadxi.dev/zapx)
[![Benchmarks](https://img.shields.io/website/https/zapx.bobheadxi.dev/benchmarks?down_color=lightgrey&down_message=offline&label=benchmarks&up_color=green&up_message=available)](https://zapx.bobheadxi.dev/benchmarks)## Usage
Each subpackage is a separate module to minimize their dependency trees. To use
the package you want, just import them using their respective package names -
for example:```sh
go get go.bobheadxi.dev/zapx/zapx
go get go.bobheadxi.dev/zapx/ztest
go get go.bobheadxi.dev/zapx/zhttp
```Refer to the [godoc](https://godoc.org/go.bobheadxi.dev/zapx) for a complete
listing of available packages and their functionality.## Development
A few Makefile targets are available to help with development:
```sh
make mod # updates module definitions for all submodule
make test # runs tests for each submodule
```Refer to the [Makefile](./Makefile) for more details.