Files
EonaCat.LogStack/EonaCat.LogStack.LogClient/Models/LogEntry.cs
EonaCat 977374ce02 Added EonaCat.LogStack.Status
Updated EonaCat.LogStack.LogClient to support EonaCat.LogStack.Status
2026-03-12 21:15:33 +01:00

22 lines
781 B
C#

using System;
namespace EonaCat.LogStack.LogClient.Models
{
// This file is part of the EonaCat project(s) which is released under the Apache License.
// See the LICENSE file or go to https://EonaCat.com/License for full license details.
public class LogEntry
{
public int Id { get; set; }
public string Source { get; set; } = "system";
public string Level { get; set; } = "info";
public string Message { get; set; } = "";
public string? Properties { get; set; }
public string? Exception { get; set; }
public string? StackTrace { get; set; }
public DateTime Timestamp { get; set; } = DateTime.UtcNow;
public string? TraceId { get; set; }
public string? Host { get; set; }
}
}