LogExceptionTypeEnum.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. namespace Wayne.Lib.Log
  2. {
  3. /// <summary>
  4. /// The different types of log exceptions.
  5. /// </summary>
  6. public enum LogExceptionType
  7. {
  8. #region Fields
  9. /// <summary>
  10. /// The log config file has a bad format.
  11. /// </summary>
  12. InvalidLogConfigFile,
  13. /// <summary>
  14. /// The internal config schema file is corrupt.
  15. /// </summary>
  16. CorruptConfigSchemaFile,
  17. /// <summary>
  18. /// This operation is not allowed since the Logger is closed.
  19. /// </summary>
  20. LoggerClosed,
  21. /// <summary>
  22. /// There is no configuration file specified.
  23. /// </summary>
  24. NoConfigFile,
  25. /// <summary>
  26. /// The specified configuration file is missing.
  27. /// </summary>
  28. MissingConfigFile,
  29. /// <summary>
  30. /// When an exception has occurred within the thread's execution method,
  31. /// the Logger will fire an OnThreadException holding this exception.
  32. /// </summary>
  33. GeneralThreadException,
  34. #endregion
  35. }
  36. }