2026-04-04 13:30:13 +02:00
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
2026-04-05 10:13:12 +02:00
|
|
|
namespace Serilog.Sinks.LogView.Core.Logging;
|
2026-04-04 13:30:13 +02:00
|
|
|
|
|
|
|
|
public class LogModel
|
|
|
|
|
{
|
|
|
|
|
#region Properties
|
|
|
|
|
|
|
|
|
|
public DateTime Timestamp { get; set; }
|
|
|
|
|
|
|
|
|
|
public LogLevel LogLevel { get; set; }
|
|
|
|
|
|
|
|
|
|
public EventId EventId { get; set; }
|
|
|
|
|
|
|
|
|
|
public object? State { get; set; }
|
|
|
|
|
|
|
|
|
|
public string? Exception { get; set; }
|
|
|
|
|
|
|
|
|
|
public LogEntryColor? Color { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|