Table of Contents

Method LogError

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

LogError(object?, LogItemKind, bool)

Logs error message.

public static void LogError(object? obj, LogItemKind kind = LogItemKind.Error, bool allowReplace = false)

Parameters

obj object

Message text or object to log.

kind LogItemKind

Message kind. Optional. Default is Error.

allowReplace bool

Whether to allow replace last log item if last item has the same text.