CocoaPods trunk is moving to be read-only. Read more on the blog, there are 9 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Oct 2019 |
Maintained by Matteo Pacini.
This simple library (full of preprocessor magic), shadows NSLog and adds a "debug" NSLog command, called DLog.
Import BetterNSLog.h where you need it, and you're good to go.
This...
NSLog(format,...)
...prints:
[APPNAME] DESIRED_OUTPUT
And
This...
DLog(format,...)
...prints:
[APPNAME][source_file:line_number][function] DESIRED_OUTPUT
where mt stands for main thread.
v1.1
DLog doesn't print anything when DEBUG flag is not set!
BetterNSLog is available under the MIT license. See the LICENSE file for more info.