Using FUNCTION

suggest change
NSLog(@"%s %@",__FUNCTION__, @"etc etc");

Inserts the class and method name into the output:

2016-07-22 12:51:30.099 loggingExample[18132:2971471] -[ViewController viewDidLoad] etc etc

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents