Advanced Logger
About the plugin
Author plugin written for Riftborn. It adds handy logging tools to C++ and Blueprints.
Overview
The plugin outputs both on the screen and in the console, displaying the name of the class in which the function was called.
Settings
You can customize the output categories in the project settings.
C++ Logs
The plugin also adds useful macros for use in C++
TRACE(YourCategory, "My text with %s and %d", *myString, myInt);
TRACEWARN(YourCategory, "My text with %s and %d", *myString, myInt);
TRACEERROR(YourCategory, "My text with %s and %d", *myString, myInt);
Warning
These macros don't work in static functions and in places where GetWorld() can't be obtained!
If you need to output something to console in a static function use the following:
Note
In this case, the macro will not display your network mode (Standalone, Client, Server) in the console, but will still display the full name of the function.
The plugin provides two macros for displaying on the screen:
SCREENDEBUG("My text with %s and %d", *myString, myInt); // Duration: 5.0f
SCREENDEBUGT("My text with %s and %d", *myString, myInt); // Duration: 0.0f
SCREENDEBUGT
The second method can be used in Tick()