GeneralRulesLogDebugLabel Method |
Namespace: (Default Namespace)
public virtual void LogDebugLabel( string Label )
By default, the debug output is reset each frame, so in order to force a piece of debug output to be visible long enough to see it, it must be logged during each frame.
Debug output is drawn to the display in OutputDebugInfo, which is called from the main game loop in Run. The behavior of debug output can be customized there.
This function is often used in conjunction with LogDebugValue(Int32) because LogDebugLabel leaves the position of the output on the same line allowing for a value to be appended to the end of the line.
LogDebugLabel("Counter 1 value: ");
LogDebugValue(Counter.Counter_1.CurrentValue);