Where should I put testing output logs?

I’m making a leveling system for the player so that when he levels up, the LevelUp function increments the player level variable by 1 and resets the LevelProgress float. I want to make sure it works by outputting to the output log something like “you’re level _, your level progress is _” but I don’t know where I should write that output line. There’s no BeginPlay function in the Character.cpp or header file (I’m fairly new to Unreal but experienced in C++).

I assume you have a function called something like “LevelUp”, there is a good spot. Alternatively, if you check if the player levels up during Tick (which I don’t suggest to do) or in a timer, then you should put your output log there.

If you share your code, I will be pleased to help you finding a good spot for your log.

I put it in the LevelUp function. Thanks for the advice!