Initial version
This commit is contained in:
21
EonaCat.LogStack.LogClient/Models/LogEntry.cs
Normal file
21
EonaCat.LogStack.LogClient/Models/LogEntry.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user