Table of Contents

Method DebugLogIf

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

DebugLogIf(object?, bool)

Calls LogMessage event if condition is true.

[Conditional("DEBUG")]
public static void DebugLogIf(object? obj, bool condition)

Parameters

obj object

Message text or object to log.

condition bool

Log if true.

Remarks

Works only if DEBUG conditional is defined.