using System; using System.Text.Json.Serialization; namespace FinlyticCore.Dtos.Logging; public record LogMessageDto( [property: JsonPropertyName("timestamp")] DateTime Timestamp, [property: JsonPropertyName("serviceName")] string ServiceName, [property: JsonPropertyName("channel")] string Channel, [property: JsonPropertyName("level")] string Level, [property: JsonPropertyName("message")] string Message, [property: JsonPropertyName("exception")] string? Exception = null );