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
TimestampDateTimeOffsetWhen the line was completed.
IsErrorboolTrue if it was written to Error.
TextstringThe line, without its line break.
Properties
IsError
True if it was written to Error.
public bool IsError { get; init; }
Property Value
Text
The line, without its line break.
public string Text { get; init; }
Property Value
Timestamp
When the line was completed.
public DateTimeOffset Timestamp { get; init; }