Request logging middleware for go-chi using zap.
Go to file
renovate 8f902152b1
continuous-integration/drone/push Build is passing Details
chore(deps): update module go.uber.org/zap to v1.24.0 (#9)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [go.uber.org/zap](https://github.com/uber-go/zap) | require | minor | `v1.23.0` -> `v1.24.0` |

---

### Release Notes

<details>
<summary>uber-go/zap</summary>

### [`v1.24.0`](https://github.com/uber-go/zap/releases/tag/v1.24.0)

[Compare Source](https://github.com/uber-go/zap/compare/v1.23.0...v1.24.0)

Enhancements:

-   [#&#8203;1148][]: Add `Level` to both `Logger` and `SugaredLogger` that reports the
    current minimum enabled log level.
-   [#&#8203;1185][]: `SugaredLogger` turns errors to zap.Error automatically.

Thanks to [@&#8203;Abirdcfly](https://github.com/Abirdcfly), [@&#8203;craigpastro](https://github.com/craigpastro), [@&#8203;nnnkkk7](https://github.com/nnnkkk7), and [@&#8203;sashamelentyev](https://github.com/sashamelentyev) for their
contributions to this release.

[#&#8203;1148]: https://github.com/uber-go/zap/pull/1148

[#&#8203;1185]: https://github.com/uber-go/zap/pull/1185

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4wIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMCJ9-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Reviewed-on: #9
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2022-12-01 04:27:28 +00:00
_examples/basic chore(deps): update module go.uber.org/zap to v1.24.0 (#9) 2022-12-01 04:27:28 +00:00
.drone.yml add .drone.yml (#2) 2022-09-16 14:14:31 +00:00
.gitignore init 2021-08-31 08:03:13 +02:00
LICENSE init 2021-08-31 08:03:13 +02:00
README.md update README.md 2022-10-12 15:14:09 +02:00
config.go refactor (#1) 2022-09-16 14:06:41 +00:00
go.mod chore(deps): update module go.uber.org/zap to v1.24.0 (#9) 2022-12-01 04:27:28 +00:00
go.sum chore(deps): update module go.uber.org/zap to v1.24.0 (#9) 2022-12-01 04:27:28 +00:00
logger.go refactor (#1) 2022-09-16 14:06:41 +00:00
logger_test.go run tests in parallel (#4) 2022-09-16 14:55:21 +00:00
renovate.json refactor (#1) 2022-09-16 14:06:41 +00:00

README.md

chizap Build Status

Request logging middleware for go-chi using zap.

Installation

go get gitea.dwysokinski.me/Kichiyaki/chizap

Usage

See the example.