LogSystem - golden-coconut-studio/TikiAdventuresWiki GitHub Wiki
LogSystem
this is a utility class that we use to centralize logs that are restricted to our scripts.
Disabling all prints
To disable all prints (including blueprints) just open command line and type disableallscreenmessages
Implementation
simply add "#include "TK_LogSystem.h" " in the script that you want to use it.
- if you want to create a log message, use:
TK_LogSystem::LogDebug("It will display a debug logs in white color on the console and blue on the level");
- if you want to create a warning message, use:
TK_LogSystem::LogWarning("It will display a warning logs in yellow color");
- If you want to create an error message, use:
TK_LogSystem::LogError("It will display an error logs in red color");
This is what they look like ingame: