Method LogReplace
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
stringMessage text.
prefix
stringMessage text prefix.
kind
LogItemKindMessage kind.
Returns
Remarks
If last logged message
contains prefix
, last log item is replaced with
message
instead of adding new log item.