Files
2026-11-08 17:57:08 +03:30

28 lines
919 B
C#

using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
namespace xLoggingService.Models
{
/// <summary>
/// a Log which Issued ...
/// </summary>
public class XLogEntry
{
public int EventId { get; set; }
public string State { get; set; }
public string SpanId { get; set; }
public LogLevel Level { get; set; }
public string Message { get; set; }
public string TraceId { get; set; }
public string Category { get; set; }
public string Exception { get; set; }
public DateTime Timestamp { get; set; }
public string Application { get; set; }
public string Environment { get; set; }
public string MachineName { get; set; }
public string CorrelationId { get; set; }
public IDictionary<string, string> Scope { get; set; } = new Dictionary<string, string>();
}
}