22 lines
781 B
C#
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; }
|
|
}
|
|
}
|