Method LogAndWait
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
objobjectMessage text or object to log.
kindLogItemKindMessage kind.
waitboolWhether to wait until log operation completes its execution.