we would like NSLog to be like this:
(ClassName MethodName) (SourceFileName:LineNumber) NSLog output
##Intall
###step1 Add this line in your Podfile
pod 'ExtendNSLog', :git => 'https://github.com/ben46/ExtendNSLog.git'
###step2 Run following cmd in your ternimal
pod install
###step3
Now add the ExtendNSLogFunctionality.h include to the prefix header file Prefix.pch within the #ifdef OBJC section.
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "ExtendNSLogFunctionality.h"
#endif
##A Custom Log Example
int result = 20;
NSLog(@"Value of result : %d", result);
you should see something like this:
([AppDelegate application:didFinishLaunchingWithOptions:]) (AppDelegate.m:21) Value of result : 20
##2014-03-08 Ver 1.0.2 Update
NSLogPoint(), NSLogRect(), NSLogSize()