// 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, } }