// *********************************************************************** // // Heath // // *********************************************************************** using Lib.Common.LoggingAPI.Service.Constants; using System.Runtime.Serialization; using System.Text.Json.Serialization; namespace Lib.Common.LoggingAPI.Service.DataTransferObjects.Logger { /// /// Represents all possible values for log operation. /// [DataContract] public enum LogOperation { /// /// The client request log operation type. /// [EnumMember(Value = DisplayNames.ClientRequest)] [JsonPropertyName(DisplayNames.ClientRequest)] ClientRequest = 0, /// /// The client response log operation type. /// [EnumMember(Value = DisplayNames.ClientResponse)] ClientResponse = 1, /// /// The external request log operation type. /// [EnumMember(Value = DisplayNames.ExternalRequest)] ExternalRequest = 2, /// /// The external response log operation type. /// [EnumMember(Value = DisplayNames.ExternalResponse)] ExternalResponse = 3, /// /// The error log operation type. /// [EnumMember(Value = DisplayNames.Error)] Error = 4, /// /// The info log operation type. /// [EnumMember(Value = DisplayNames.Info)] Info = 5, } }