Table of Contents

Method LogAndWait

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

LogAndWait(object?, LogItemKind, bool)

Calls Log(object?, LogItemKind) and waits until it completes its execution.

public static void LogAndWait(object? obj, LogItemKind kind = LogItemKind.Information, bool wait = false)

Parameters

obj object

Message text or object to log.

kind LogItemKind

Message kind.

wait bool

Whether to wait until log operation completes its execution.