Table of Contents

Class LogEntry

Namespace
MiniTui
Assembly
MiniTui.dll

One line in a LogBuffer.

public sealed record LogEntry : IEquatable<LogEntry>
Inheritance
LogEntry
Implements
Inherited Members

Constructors

LogEntry(DateTimeOffset, bool, string)

One line in a LogBuffer.

public LogEntry(DateTimeOffset Timestamp, bool IsError, string Text)

Parameters

Timestamp DateTimeOffset

When the line was completed.

IsError bool

True if it was written to Error.

Text string

The line, without its line break.

Properties

IsError

True if it was written to Error.

public bool IsError { get; init; }

Property Value

bool

Text

The line, without its line break.

public string Text { get; init; }

Property Value

string

Timestamp

When the line was completed.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset