ErrorLogSeverityEnum.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. namespace Wayne.Lib.Log
  2. {
  3. /// <summary>
  4. /// Describes the severity of an error.
  5. /// </summary>
  6. public enum ErrorLogSeverity
  7. {
  8. #region Fields
  9. /// <summary>
  10. /// The kindest type of error.
  11. /// The application can proceed its execution without any problem.
  12. /// </summary>
  13. Cosmetic,
  14. /// <summary>
  15. /// Quite a bad error has occurred.
  16. /// The application can however continue without any loss of data or similar.
  17. /// </summary>
  18. Recoverable,
  19. /// <summary>
  20. /// This is a really bad error.
  21. /// Somehow some kind of data is lost -- but the application can continue its execution.
  22. /// </summary>
  23. RecoverableDataLoss,
  24. /// <summary>
  25. /// The worst imaginable errors.
  26. /// When this error has occurred the application cannot continue.
  27. /// This could for instance be a bad configuration, e.g. two servers listening to
  28. /// the same port.
  29. /// </summary>
  30. Irrecoverable,
  31. #endregion
  32. }
  33. }