-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Fiber documentation requires an update for the logger middleware to include the correct usage of CustomTags in version 3. The current documentation did not reflect the updated API for configuring custom tags, leading to confusion.
Changes include:
- Adding a working example of using
CustomTagswithlogger.Configin the v3 documentation. - Providing a clear, corrected format for defining and using custom tags in the logger middleware.
This should help developers correctly implement custom tags in their logging setup and avoid issues with outdated examples.
I follow the v3 docs. Maybe it not yet completed. If you think it not bugs you can close the issue. @sixcolors.
Ah, I see — thanks for pointing that out. We missed updating the logger middleware example at:
fiber/docs/middleware/logger.md
Line 43 in ab7f949
// Logging Request ID I'll raise a separate issue for that and submit a fix to clarify how to use
CustomTagsin v3. Since this isn't a bug with the logger itself, I'm closing this issue.
Originally posted by @sixcolors in #3436