Using FUNCTION
suggest changeNSLog(@"%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
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents