https://github.com/xgfone/go-apiserver-middleware-logger-ext
Provide an extension of `github.com/xgfone/go-apiserver/http/middleware/logger` to support to log the request and response header and body.
https://github.com/xgfone/go-apiserver-middleware-logger-ext
Last synced: 4 months ago
JSON representation
Provide an extension of `github.com/xgfone/go-apiserver/http/middleware/logger` to support to log the request and response header and body.
- Host: GitHub
- URL: https://github.com/xgfone/go-apiserver-middleware-logger-ext
- Owner: xgfone
- License: apache-2.0
- Created: 2023-09-20T13:48:21.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T07:49:22.000Z (6 months ago)
- Last Synced: 2025-04-14T08:42:24.757Z (6 months ago)
- Language: Go
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go ApiServer Middleware Logger Ext [](https://raw.githubusercontent.com/xgfone/go-apiserver-middleware-logger-ext/master/LICENSE)
Provide an extension of `github.com/xgfone/go-apiserver/http/middleware/logger` to support to log the request and response header and body, requiring `Go1.21+` and `github.com/xgfone/go-apiserver@v0.42.0+`.
### Usage
```go
import _ "github.com/xgfone/go-apiserver-middleware-logger-ext"
```