1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
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.
// 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.
[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,
}
}
|