Table of Contents

Method LogReplace

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

LogReplace(object?, object?, LogItemKind)

Calls LogMessage event to add or replace log message.

public static void LogReplace(object? obj, object? prefix = null, LogItemKind kind = LogItemKind.Information)

Parameters

obj object

Message text.

prefix object

Message text prefix.

kind LogItemKind

Message kind.

Remarks

If last logged message contains prefix, last log item is replaced with obj instead of adding new log item.