Class LogBacklogEntry
- Namespace
- EchoHub.Server.Services.ServerLogs
- Assembly
- EchoHub.Server.dll
A backlog entry read from the log file: one timestamped log line plus any continuation lines (exception stack traces) that followed it.
public record LogBacklogEntry : IEquatable<LogBacklogEntry>
- Inheritance
-
LogBacklogEntry
- Implements
- Inherited Members
Constructors
LogBacklogEntry(LogBacklogEntry)
protected LogBacklogEntry(LogBacklogEntry original)
Parameters
originalLogBacklogEntry
LogBacklogEntry(DateTimeOffset, string)
A backlog entry read from the log file: one timestamped log line plus any continuation lines (exception stack traces) that followed it.
public LogBacklogEntry(DateTimeOffset Timestamp, string Content)
Parameters
TimestampDateTimeOffsetContentstring
Properties
Content
public string Content { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Timestamp
public DateTimeOffset Timestamp { get; init; }
Property Value
Methods
Deconstruct(out DateTimeOffset, out string)
public void Deconstruct(out DateTimeOffset Timestamp, out string Content)
Parameters
TimestampDateTimeOffsetContentstring
Equals(LogBacklogEntry?)
public virtual bool Equals(LogBacklogEntry? other)
Parameters
otherLogBacklogEntry
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(LogBacklogEntry?, LogBacklogEntry?)
public static bool operator ==(LogBacklogEntry? left, LogBacklogEntry? right)
Parameters
leftLogBacklogEntryrightLogBacklogEntry
Returns
operator !=(LogBacklogEntry?, LogBacklogEntry?)
public static bool operator !=(LogBacklogEntry? left, LogBacklogEntry? right)
Parameters
leftLogBacklogEntryrightLogBacklogEntry