Click or drag to resize
GeneralRulesLogDebugLabel Method
Write a string to the debug output without moving to the next line.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void LogDebugLabel(
	string Label
)

Parameters

Label
Type: SystemString
String value to write to the debug output
Remarks

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.

Examples
This will add the string "Counter 1 value: " followed by the value contained in a counter named "Counter 1" to the debug output for the current frame.
LogDebugLabel("Counter 1 value: ");
            LogDebugValue(Counter.Counter_1.CurrentValue);
See Also