steamclock / netable

A Swift library for encapsulating network APIs using Codable in a type-oriented way.
MIT License
99 stars 3 forks source link

Log request bodies as separate logs, add some basic redaction #81

Closed brendanlensink closed 3 years ago

brendanlensink commented 3 years ago

Also bumped the version number to 1.0 in anticipation of our next release.

brendanlensink commented 3 years ago

Updated:

brendanlensink commented 3 years ago

After some more thinking, I think I'm okay with being a little opinionated on having redaction enabled by default, as long as you're able to turn it off globally easily.

Also great point about en/disable, swapped to enableLogRedaction.