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
obj
objectMessage text or object to log.
kind
LogItemKindMessage kind.
wait
boolWhether to wait until log operation completes its execution.