Two question, first of all where is the documentation for
DECLARE_LOG_CATEGORY_EXTERN(NewLog, Log, All);
? My laptop is too slow to run unreal through visual studio with intellisense on, and Visual Assist doesn’t give me any help on the declare log category. I seriously had to fill in jibberish into the parameters so it would give an error letting me know what type it expected.
Second and more importantly, how do I change the default of a custom debug log channel to “don’t show”? I wanne have multiple debug channels for a lot of stuff that’s prone to breaking, so when something breaks I can just turn the relevant debug channel on and see what’s happening. I don’t wanne get a ton of Debug messages every time I open unreal because all these custom debug categories are showing by default.
If you set it up yourGame.h as this example. The debug log’s will not be printed by default in the output log in unreals editor.
Type “log customLogCategory” (without the “”) in the output log window to start showing your debug logs.
Do note that if you switch argument 2 and 3 this does NOT WORK. This is probably very logical if you can find the documentation for DECLARE_LOG_CATEGORY_EXTERN. but as I mentioned before, I can’t