56 lines
1.6 KiB
C#
56 lines
1.6 KiB
C#
// ***********************************************************************
|
|
// <copyright file="LogOperation.cs">
|
|
// Heath
|
|
// </copyright>
|
|
// ***********************************************************************
|
|
|
|
using System.Runtime.Serialization;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Core.Blueprint.Logging
|
|
{
|
|
/// <summary>
|
|
/// Represents all possible values for log operation.
|
|
/// </summary>
|
|
[DataContract]
|
|
public enum LogOperation
|
|
{
|
|
/// <summary>
|
|
/// The keyVaultProvider request log operation type.
|
|
/// </summary>
|
|
[EnumMember(Value = DisplayNames.ClientRequest)]
|
|
[JsonPropertyName(DisplayNames.ClientRequest)]
|
|
ClientRequest = 0,
|
|
|
|
/// <summary>
|
|
/// The keyVaultProvider response log operation type.
|
|
/// </summary>
|
|
[EnumMember(Value = DisplayNames.ClientResponse)]
|
|
ClientResponse = 1,
|
|
|
|
/// <summary>
|
|
/// The external request log operation type.
|
|
/// </summary>
|
|
[EnumMember(Value = DisplayNames.ExternalRequest)]
|
|
ExternalRequest = 2,
|
|
|
|
/// <summary>
|
|
/// The external response log operation type.
|
|
/// </summary>
|
|
[EnumMember(Value = DisplayNames.ExternalResponse)]
|
|
ExternalResponse = 3,
|
|
|
|
/// <summary>
|
|
/// The error log operation type.
|
|
/// </summary>
|
|
[EnumMember(Value = DisplayNames.Error)]
|
|
Error = 4,
|
|
|
|
/// <summary>
|
|
/// The info log operation type.
|
|
/// </summary>
|
|
[EnumMember(Value = DisplayNames.Info)]
|
|
Info = 5,
|
|
}
|
|
}
|