-
Notifications
You must be signed in to change notification settings - Fork 306
Expand file tree
/
Copy pathSystemLogDto.cs
More file actions
29 lines (17 loc) · 1.02 KB
/
SystemLogDto.cs
File metadata and controls
29 lines (17 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace CleanArchitecture.Blazor.Application.Features.SystemLogs.DTOs;
public class SystemLogDto
{
[Description("Id")] public int Id { get; set; }
[Description("Message")] public string? Message { get; set; }
[Description("Message Template")] public string? MessageTemplate { get; set; }
[Description("Level")] public string Level { get; set; } = default!;
[Description("Datetime")] public DateTime TimeStamp { get; set; } = DateTime.UtcNow;
[Description("Exception")] public string? Exception { get; set; }
[Description("User name")] public string? UserName { get; set; }
[Description("Client IP")] public string? ClientIP { get; set; }
[Description("Client Agent")] public string? ClientAgent { get; set; }
[Description("Properties")] public string? Properties { get; set; }
[Description("Log Event")] public string? LogEvent { get; set; }
}