// Copyright Epic Games, Inc. All Rights Reserved. using System.Collections.Generic; using System.Text.Json; #pragma warning disable CA2227 namespace EpicGames.Horde.Logs { /// /// Severity of a log event /// public enum LogEventSeverity { /// /// Severity is not specified /// Unspecified = 0, /// /// Information severity /// Information = 1, /// /// Warning severity /// Warning = 2, /// /// Error severity /// Error = 3, } /// /// Information about an uploaded event /// public class GetLogEventResponse { /// /// Unique id of the log containing this event /// public LogId LogId { get; set; } /// /// Severity of this event /// public LogEventSeverity Severity { get; set; } /// /// Index of the first line for this event /// public int LineIndex { get; set; } /// /// Number of lines in the event /// public int LineCount { get; set; } /// /// The issue id associated with this event /// public int? IssueId { get; set; } /// /// The structured message data for this event /// public List Lines { get; set; } = new List(); } }