22 lines
393 B
C#
22 lines
393 B
C#
|
|
using Microsoft.Extensions.Logging;
|
||
|
|
|
||
|
|
namespace LogViewer.Core;
|
||
|
|
|
||
|
|
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
|
||
|
|
}
|