Table of Contents

Method LogReplace

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

LogReplace(string?, string?, LogItemKind)

Same as LogReplace(object?, object?, LogItemKind) but uses only this control for the logging.

public virtual LogListBox.LogListBoxItem LogReplace(string? message, string? prefix, LogItemKind kind = LogItemKind.Information)

Parameters

message string

Message text.

prefix string

Message text prefix.

kind LogItemKind

Message kind.

Returns

LogListBox.LogListBoxItem

Remarks

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