I want to output the function name each time it is called, I can easily copy and paste the function name, however I wondered if there was a shortcut that would do the job for me
"__FUNCTION__" is supported by both MSVC and GCC and should give you the information you need.
__FUNCTION__