gin
gin copied to clipboard
feat: skip url with prefixes in LoggerConfig
As in a RESTful url design, resource identities often appear as part of url, such as /resources/show/:id
. With SkipPaths
alone in LoggerConfig
, we can not handle skipping-logging-by-path
with urls one by one. So here comes the prefix
way of skipping-logging-by-prefix-match
.
Tests delievered.