Table of Contents

Method LogErrorIf

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

LogErrorIf(object?, bool)

Calls LogError(object?) if condition is true.

public static void LogErrorIf(object? obj, bool condition)

Parameters

obj object

Error text or object to log.

condition bool

Log if true.