andysmart / Timberjack

Automatic network activity logger for iOS and OSX
MIT License
159 stars 43 forks source link

Provide 'None' logging style to disable logging in release builds #12

Closed tom-bell closed 7 years ago

tom-bell commented 8 years ago

This change allows users to optionally set the .None style, allowing disabling potentially sensitive network requests from being logged in production builds.

andysmart commented 7 years ago

Hey Tom, Thanks for this! I did consider adding an option to not log at all, though - I settled on the fact that ideally Timberjack should be typedef'd out in release builds, and decided against it, sorry!