Skip to content

iltercengiz/DebugLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DebugLog

Usage

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!");

Installation

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.

Author

Ilter Cengiz, ilter@cengiz.im

License

DebugLog is available under the MIT license. See the LICENSE file for more info.

About

A logging macro that only logs in DEBUG environment

Resources

License

Stars

Watchers

Forks

Packages

No packages published