DebugLog supports both iOS and OS X, as it is only a macro that uses printf and NSString.
DebugLog's arguments are the same as NSLog's. Transitioning to DebugLog is as easy as converting all NSLogs to DebugLog.
Example usage:
DebugLog(@"A message that will only logged if DEBUG is defined!");
DebugLog is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DebugLog"
Import DebugLog.h in pch and it will be available through all classes in your project.
Ilter Cengiz, ilter@cengiz.im
DebugLog is available under the MIT license. See the LICENSE file for more info.