baker
baker copied to clipboard
Turn off logs in production
It would be nice to have a way to switch off logs for a release without having to manually comment line NSLog
. Instead of calling NSLog
directly, we could use another method which respond to a setting.
According to Apple Best Practices for Logging, it's not a good practice to keep debug logs in a release.
If you log debugging information, you should either disable these messages by default or log them at the Debug level. This ensures that your debugging messages don’t clutter up your (and your users’) logs.
Thanks, we'll look into it. Added as feature request. :)