Commit Graph

41 Commits

Author SHA1 Message Date
Samuel Berthe 083d462db9 bodyWriter now implements http.Flusher and http.Hijacker 2024-01-20 19:13:39 +01:00
Samuel Berthe 96c9813d0e feat: adding params 2024-01-03 20:26:15 +01:00
张均隆 8d42afb00b feat: adding request query (#13)
* feat: adding request query

* Update README.md

---------

Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
2024-01-03 20:23:26 +01:00
Samuel Berthe 8a9a65d8fb move attributes tot nested group - first commit of the year 2024-01-01 15:40:26 +01:00
Samuel Berthe 45cb9e04df doc: improve readme 2023-12-26 00:54:44 +01:00
dependabot[bot] 93a053ee73 chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#12)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 12:22:59 +01:00
Lucas JAHIER 2abc5bcd2e feat: make user-agent optional in the NewWithConfig (#9)
* feat: make user-agent optional in the NewWithConfig

* feat: set default value to false
2023-12-01 18:47:20 +01:00
Samuel Berthe 6069f83668 Update README.md 2023-11-27 11:24:30 +01:00
Samuel Berthe b9e5d08876 Update Makefile 2023-11-01 04:32:21 +01:00
Samuel Berthe a587ecd872 Merge branch 'main' of https://github.com/samber/slog-gin 2023-10-30 10:40:09 +01:00
Samuel Berthe 6d4694e021 feat: adding otel 2023-10-30 10:40:02 +01:00
Ben B 6b1ec40410 feat: support adding traceID and spanID (#7)
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
2023-10-30 10:12:15 +01:00
Samuel Berthe 26cd833d20 doc 2023-10-24 11:33:08 +02:00
Samuel Berthe 7b2004ad1f feat: send request context into record context 2023-10-23 14:11:16 +02:00
Samuel Berthe 9b048ad34b Merge branch 'main' of https://github.com/samber/slog-gin 2023-10-21 19:56:15 +02:00
Samuel Berthe d623f43b4c style: cleanup code 2023-10-21 19:56:11 +02:00
Samuel Berthe 3136afbcb0 feat: max size (#6)
for http body dump
2023-10-18 02:49:27 +02:00
Samuel Berthe 2fa3d7e62c feat: verbose mode + custom attributes 2023-10-16 01:00:56 +02:00
Samuel Berthe 1546b4083a feat: split path into 2 variables (path+route) 2023-10-15 22:29:34 +02:00
Samuel Berthe 239c66b1eb Update README.md 2023-10-15 21:02:01 +02:00
dependabot[bot] d3933ee97e chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 (#4)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 17:22:03 +02:00
Samuel Berthe ed108d3e9c Update README.md 2023-09-18 20:10:54 +02:00
Samuel Berthe 45a13954be Update README.md 2023-09-18 20:07:16 +02:00
Samuel Berthe 8fc05e396a feat: adding filters 2023-09-15 04:55:51 +02:00
Samuel Berthe 6e969abe5d Update README.md 2023-08-21 21:32:42 +02:00
Samuel Berthe ec2aed69bf Update README.md 2023-08-21 21:31:19 +02:00
Samuel Berthe baf0008993 Update README.md 2023-08-19 02:48:00 +02:00
Samuel Berthe 68aed0c018 bump v1 2023-08-09 18:27:13 +02:00
Samuel Berthe 1874447dc7 chore: upgrading x/exp 2023-06-20 18:20:55 +02:00
Samuel Berthe 6445d8ae4f chore: upgrading x/exp 2023-06-20 18:19:40 +02:00
dependabot[bot] 2a97bc7862 chore(deps): bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#1)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 13:19:52 +02:00
Samuel Berthe c4089c57af Merge branch 'master' of https://github.com/samber/slog-gin 2023-05-23 20:47:13 +02:00
Samuel Berthe 44d277f66b chore: adding goleak 2023-05-23 20:47:12 +02:00
Samuel Berthe 2363709a90 Update README.md 2023-05-19 20:28:22 +02:00
Samuel Berthe 1365da1418 Update README.md 2023-04-30 23:09:44 +02:00
Samuel Berthe 9031a33267 improve doc 2023-04-30 20:35:01 +02:00
Samuel Berthe ebac6b7c97 feat(tracing): add request id 2023-04-26 21:01:03 +02:00
Samuel Berthe 7363bb9e27 chore: upgrade to slog-formatter 0.3.3 2023-04-25 22:57:05 +02:00
Samuel Berthe c5b57c2678 chore: upgrade to go1.20.3 and x/exp nightly 2023-04-25 22:39:02 +02:00
Samuel Berthe 1a9e68863a Update README.md 2023-04-16 21:44:15 +02:00
Samuel Berthe 445fe9542f initial commit 2023-04-16 21:34:36 +02:00