granoff / Lockbox

Objective-C utility class for storing data securely in the key chain.
MIT License
847 stars 87 forks source link

Is there any way to disabling logging when using Cocapods? #34

Closed wilferrel closed 10 years ago

wilferrel commented 10 years ago

I would like to disable logging altogether for release builds. Is there a way to do this now or maybe add this option?

granoff commented 10 years ago

Good idea. Thanks. I was going to look at some stuff for Lockbox "soon" so I'll see what I can do for this as well.

granoff commented 10 years ago

So, yeah, I forgot about this: The Lockbox code uses a macro, DLog, that only emits anything for debug builds. For release builds it's output is suppressed. So I think what you want is already the case. :-)