fiber
fiber copied to clipboard
🤗 [Question]: Is it possible to flush all response headers with one logger format field?
Question Description
app.Use(logger.New(logger.Config{
Format: "Request headers: ${reqHeaders}\nResponse headers:${?}",
}))
How to print out response headers like ${reqHeaders}?
The ${respHeader:SOMEONE} is not flexible for this scenario.
Code Snippet (optional)
No response
Checklist:
- [X] I agree to follow Fiber's Code of Conduct.
- [X] I have checked for existing issues that describe my questions prior to opening this one.
- [X] I understand that improperly formatted questions may be closed without explanation.
it is currently not part of the standard tags, you could add it or create a custom tag