I am producing an iOS framework and currently have Debug and Release versions; the only way they differ is that the Debug version produces console logging (I use DLog
for logging in my framework).
I don't think it's worthwhile shipping two versions of my framework just for that reason.
Is there an easy way to enable or disable logging at runtime within a consuming app?