Print Screen Messages from C++, Automatically Including Class / Line Number!
Pic Explanation
In this pic, AEVCoreDefense is my C++ Class, and the line number of the screen message is currently line 93 (automatically updates as your class grows in size!)
Using the .h file I share with you in the original post of this thread, you can easily output messages to yourself that tell you
-
the class where you printed the message
-
the line number on which you printed the message
-
the name of the function in which you printed the message!
-
the function signature which contains the printed message
And I exposed this to the screen debug messages as well as to the UE_LOG system!
Enjoy!