diff options
Diffstat (limited to 'src/mscorlib/src/System/Diagnostics/LoggingLevels.cs')
-rw-r--r-- | src/mscorlib/src/System/Diagnostics/LoggingLevels.cs | 61 |
1 files changed, 31 insertions, 30 deletions
diff --git a/src/mscorlib/src/System/Diagnostics/LoggingLevels.cs b/src/mscorlib/src/System/Diagnostics/LoggingLevels.cs index 0eea0507ec..6b5ea85ee1 100644 --- a/src/mscorlib/src/System/Diagnostics/LoggingLevels.cs +++ b/src/mscorlib/src/System/Diagnostics/LoggingLevels.cs @@ -2,17 +2,19 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace System.Diagnostics { - - using System; - // Constants representing the importance level of messages to be logged. - // This level can be used to organize messages, and also to filter which - // messages are displayed. - // - // An attached debugger can enable or disable which messages will - // actually be reported to the user through the COM+ debugger - // services API. This info is communicated to the runtime so only - // desired events are actually reported to the debugger. + +using System; + +namespace System.Diagnostics +{ + // Constants representing the importance level of messages to be logged. + // This level can be used to organize messages, and also to filter which + // messages are displayed. + // + // An attached debugger can enable or disable which messages will + // actually be reported to the user through the COM+ debugger + // services API. This info is communicated to the runtime so only + // desired events are actually reported to the debugger. // NOTE: The following constants mirror the constants // declared in the EE code (DebugDebugger.h). Any changes here will also // need to be made there. @@ -22,24 +24,23 @@ namespace System.Diagnostics { [Serializable] internal enum LoggingLevels { - TraceLevel0 = 0, - TraceLevel1 = 1, - TraceLevel2 = 2, - TraceLevel3 = 3, - TraceLevel4 = 4, - - StatusLevel0 = 20, - StatusLevel1 = 21, - StatusLevel2 = 22, - StatusLevel3 = 23, - StatusLevel4 = 24, - - - WarningLevel = 40, - - ErrorLevel = 50, - - PanicLevel = 100, - } + TraceLevel0 = 0, + TraceLevel1 = 1, + TraceLevel2 = 2, + TraceLevel3 = 3, + TraceLevel4 = 4, + StatusLevel0 = 20, + StatusLevel1 = 21, + StatusLevel2 = 22, + StatusLevel3 = 23, + StatusLevel4 = 24, + + + WarningLevel = 40, + + ErrorLevel = 50, + + PanicLevel = 100, + } } |