PageRenderTime 58ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/V2.2/trunk/CAL/Desktop/Composite/Logging/Category.cs

#
C# | 45 lines | 10 code | 4 blank | 31 comment | 0 complexity | ab3eaf870234c2e03f61990281fe3b95 MD5 | raw file
  1. //===================================================================================
  2. // Microsoft patterns & practices
  3. // Composite Application Guidance for Windows Presentation Foundation and Silverlight
  4. //===================================================================================
  5. // Copyright (c) Microsoft Corporation. All rights reserved.
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
  7. // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
  8. // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  9. // FITNESS FOR A PARTICULAR PURPOSE.
  10. //===================================================================================
  11. // The example companies, organizations, products, domain names,
  12. // e-mail addresses, logos, people, places, and events depicted
  13. // herein are fictitious. No association with any real company,
  14. // organization, product, domain name, email address, logo, person,
  15. // places, or events is intended or should be inferred.
  16. //===================================================================================
  17. namespace Microsoft.Practices.Composite.Logging
  18. {
  19. /// <summary>
  20. /// Defines values for the categories used by <see cref="ILoggerFacade"/>.
  21. /// </summary>
  22. public enum Category
  23. {
  24. /// <summary>
  25. /// Debug category.
  26. /// </summary>
  27. Debug,
  28. /// <summary>
  29. /// Exception category.
  30. /// </summary>
  31. Exception,
  32. /// <summary>
  33. /// Informational category.
  34. /// </summary>
  35. Info,
  36. /// <summary>
  37. /// Warning category.
  38. /// </summary>
  39. Warn
  40. }
  41. }