Feat: Option to include headers
Opened this issue · 1 comments
hnrchrdl commented
I would like to have an option for specifically including headers. This would give better control over the headers that are logged.
If you like, i can file a PR for this.
tellnes commented
You could archive this with a custom request serializer. But sure, I'm open to a PR. What about a new config option named includeHeaders
?
obscureHeaders
and excludeHeaders
should probably take presedens over this. So this can easily be implemented by adding some code after the base serialisation code and before the code that applies those.