Logging/LogEntry/LogEntry.cscsharp

Documentation

LogEntry

Structured log record passed to subscribers.

LogEntry.cs

  • LogEntry — timestamp, type, message, and optional metadata for one log event.
namespace Agent.Core.Logging;public record LogEntry(    string Sender,    string Description,    string Color,    DateTime Timestamp,    LogType Type){    public long? ProgressCurrent { get; init; }    public long? ProgressTotal { get; init; }    public string FormattedTimestamp => Timestamp.ToString("HH:mm:ss.fff");}