Are there any good debug/CCLOG macros, for eg method/function name?

I’m making extensive use of CCLOG for debugging and rather than typing each log’s string individually I was wondering if there were any macros to give indication of where the call occurred from?

Thanks

Try this:
#define MYLOG(format, ...) cocos2d::log("%s %d: "format, __FILE__, __LINE__, ##__VA_ARGS__)

Fill free to use any predefined macros https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html

But be careful with the format specifiers.