43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| // ***********************************************************************
 | |
| // <copyright file="LogSeverity.cs">
 | |
| //     Heath
 | |
| // </copyright>
 | |
| // ***********************************************************************
 | |
| 
 | |
| using Lib.Common.LoggingAPI.Service.Constants;
 | |
| using System.Runtime.Serialization;
 | |
| 
 | |
| namespace Lib.Common.LoggingAPI.Service.DataTransferObjects.Logger
 | |
| {
 | |
|     /// <summary>
 | |
|     /// Represents all possible values for log severity.
 | |
|     /// </summary>
 | |
|     [DataContract]
 | |
|     public enum LogSeverity
 | |
|     {
 | |
|         /// <summary>
 | |
|         /// The information severity level.
 | |
|         /// </summary>
 | |
|         [EnumMember(Value = DisplayNames.Information)]
 | |
|         Info = 0,
 | |
| 
 | |
|         /// <summary>
 | |
|         /// The warning severity level.
 | |
|         /// </summary>
 | |
|         [EnumMember(Value = DisplayNames.Warning)]
 | |
|         Warn = 1,
 | |
| 
 | |
|         /// <summary>
 | |
|         /// The error severity level.
 | |
|         /// </summary>
 | |
|         [EnumMember(Value = DisplayNames.Error)]
 | |
|         Error = 2,
 | |
| 
 | |
|         /// <summary>
 | |
|         /// The fatal severity level.
 | |
|         /// </summary>
 | |
|         [EnumMember(Value = DisplayNames.Fatal)]
 | |
|         Fatal = 3,
 | |
|     }
 | |
| }
 | 
