Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add functions to set log levels for different request statuses
- Add a new function `WithDefaultLevel` to set the log level for requests with status code < 400 - Add a new function `WithClientErrorLevel` to set the log level for requests with status code between 400 and 499 - Add a new function `WithServerErrorLevel` to set the log level for requests with status code >= 500 Signed-off-by: appleboy <[email protected]>
- Loading branch information