Partager via


LoggingLevelEnum Enumeration

Indicates the severity level of a descriptive message that is written to the event log when a managed thread logs an event.

typedef enum LoggingLevelEnum {

    LTraceLevel0 = 0,
    LTraceLevel1,
    LTraceLevel2,
    LTraceLevel3,
    LTraceLevel4,
    LStatusLevel0 = 20,
    LStatusLevel1,
    LStatusLevel2,
    LStatusLevel3,
    LStatusLevel4,
    LWarningLevel = 40,
    LErrorLevel = 50,
    LPanicLevel = 100

} LoggingLevelEnum;

Members

Member Description

LTraceLevel0

The message is a trace level 0.

LTraceLevel1

The message is a trace level 1.

LTraceLevel2

The message is a trace level 2.

LTraceLevel3

The message is a trace level 3.

LTraceLevel4

The message is a trace level 4.

LStatusLevel0

The message is a status level 0.

LStatusLevel1

The message is a status level 1.

LStatusLevel2

The message is a status level 2.

LStatusLevel3

The message is a status level 3.

LStatusLevel4

The message is a status level 4.

LWarningLevel

The message is a warning level.

LErrorLevel

The message is an error level.

LPanicLevel

The message is a panic level.

Remarks

The common language runtime (CLR) calls the ICorDebugManagedCallback::LogMessage Method method to notify the debugger that a managed thread has logged an event. The CLR passes a value of the LoggingLevelEnum enumeration to indicate the severity level of the message that the managed thread wrote to the event log.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

EventLog

Other Resources

Debugging Enumerations