https://github.com/ttys3/lgr-zap
uber-go/zap go-pkgz/lgr bridge
https://github.com/ttys3/lgr-zap
bridge lgr logger zap
Last synced: 3 months ago
JSON representation
uber-go/zap go-pkgz/lgr bridge
- Host: GitHub
- URL: https://github.com/ttys3/lgr-zap
- Owner: ttys3
- Created: 2020-04-11T02:46:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T06:35:28.000Z (about 6 years ago)
- Last Synced: 2025-01-17T15:42:49.615Z (over 1 year ago)
- Topics: bridge, lgr, logger, zap
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# uber-go/zap go-pkgz/lgr bridge
## goal
the main goal of this package is used by [ttys3/remark42](https://github.com/ttys3/remark42)
to replace the used
`github.com/go-pkgz/lgr` logger with [go.uber.org/zap](https://github.com/uber-go/zap)
## usage
add below config in your `go.mod`
```bash
replace (
github.com/go-pkgz/lgr v0.6.3 => github.com/ttys3/lgr master
)
```
then run:
```bash
go mod tidy
```