What’s the difference between __PRETTY_FUNCTION__, __FUNCTION__, __func__?
__func__ is an implicitly declared identifier that expands to a character array variable containing the function name when it is used inside of a function. It was added to C in C99. From C99 §6.4.2.2/1: The identifier __func__ is implicitly declared by the translator as if, immediately following the opening brace of each function definition, … Read more