【Improved logging in Objective-C】
Example of logging the current method and line number. Paste it into your project, and see what it prints!
Preprocessor macros and for logging in C/C++/Objective-C.
Improved logging in Objective-C
原文:http://www.cnblogs.com/tekkaman/p/3561723.html