NSLog log function name, file name and line number


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. NSLog(@”[%s:%s:%d] Here i am”,__FUNCTION__,__FILE__,__LINE__);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.