title: Conditionally compiled NSLog alternative in framework class for use outside of framework
body: <p>I have an NSLog alternative that outputs the class it's called from as well as the line number and method (selector) called PLog in a class called PLogging. It's the exact same as the DLog taken from <a href="http://iphoneincubator.com/blog/debugging/the-evolution-of-a-replacement-for-nslog" rel="nofollow">here</a> with the exception of the name change. The advantage of <code>DLog</code> as it is written is that when compiled under Release mode, the log call is changed to a comment, negating the performance impact you would otherwise be subject to. I want to be able to use this and keep it within the framework, but be able to call it from the projects I add the framework to. But still have the log calls compiled to comments when in Release mode. Is this possible?</p>