The Labs \ Source Viewer \ SSCLI \ System.Diagnostics \ TraceLevel

  1. //------------------------------------------------------------------------------
  2. // <copyright file="TraceLevel.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.Diagnostics
  16. {
  17.     using System.Diagnostics;
  18.    
  19.     using System;
  20.    
  21.     /// <devdoc>
  22.     /// <para>Specifies what messages to output for debugging
  23.     /// and tracing.</para>
  24.     /// </devdoc>
  25.     public enum TraceLevel
  26.     {
  27.         /// <devdoc>
  28.         /// <para>
  29.         /// Output no tracing and debugging
  30.         /// messages.
  31.         /// </para>
  32.         /// </devdoc>
  33.         Off = 0,
  34.         /// <devdoc>
  35.         /// <para>
  36.         /// Output error-handling messages.
  37.         /// </para>
  38.         /// </devdoc>
  39.         Error = 1,
  40.         /// <devdoc>
  41.         /// <para>
  42.         /// Output warnings and error-handling
  43.         /// messages.
  44.         /// </para>
  45.         /// </devdoc>
  46.         Warning = 2,
  47.         /// <devdoc>
  48.         /// <para>
  49.         /// Output informational messages, warnings, and error-handling messages.
  50.         /// </para>
  51.         /// </devdoc>
  52.         Info = 3,
  53.         /// <devdoc>
  54.         /// Output all debugging and tracing messages.
  55.         /// </devdoc>
  56.         Verbose = 4
  57.     }
  58.    
  59. }

Developer Fusion