In Objective C you can log the method that is being called using:
NSLog(@\"%s\", __PRETTY_FUNCTION__)
Usually this is used from a logging m
Another way to log function call:
NSLog("\(type(of:self)): %@", #function)