how do you get a trigger to output text to a logfile eg “triggered”
Great thanks for that!!!
You can also use UE_LOG(LogChannel, LogLevel, TEXT(“Format String”), …) in C++ to log to the log file, Output Console in the editor, and Visual Studio Output Window as well.
To define a custom log category, do the following in your header:
DECLARE_LOG_CATEGORY_EXTERN(LogMYCHANNEL, Verbose, All); // Replace MYCHANNEL with whatever, and change Verbose to Log or Warning, depending on the default desired cutoff to ignore messages
And in one cpp: