Skip to content

Commit

Permalink
Add docs from gofiber/contrib@8f7ee69
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 6, 2023
1 parent 978a0f4 commit 1f1c806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/contrib/fiberzerolog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fiberzerolog.New(config ...Config) fiber.Handler
| Messages | `[]string` | Custom response messages. | `[]string{"Server error", "Client error", "Success"}` |
| Levels | `[]zerolog.Level` | Custom response levels. | `[]zerolog.Level{zerolog.ErrorLevel, zerolog.WarnLevel, zerolog.InfoLevel}` |
| SkipURIs | `[]string` | Skip logging these URI. | `[]string{}` |
| GetResBody | func(c *fiber.Ctx) []byte | Define a function to get response body when return non-nil.<br>eg: When use compress middleware, resBody is unreadable. you can set GetResBody func to get readable resBody. | `nil` |
| GetResBody | func(c *fiber.Ctx) []byte | Define a function to get response body when return non-nil.<br />eg: When use compress middleware, resBody is unreadable. you can set GetResBody func to get readable resBody. | `nil` |

## Example

Expand Down

0 comments on commit 1f1c806

Please sign in to comment.