Notifies the debugger that a common language runtime (CLR) managed thread has called a method in theclass to create, modify, or delete a debugging/tracing switch.
HRESULT LogSwitch ( [in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] LONG lLevel, [in] ULONG ulReason, [in] WCHAR *pLogSwitchName, [in] WCHAR *pParentName);
[in] A pointer to anobject that represents the application domain containing the managed thread that created, modified, or deleted a debugging/tracing switch.
[in] A pointer to anobject that represents the managed thread.
[in] A value that indicates the severity level of the descriptive message that was written to the event log.
[in] A value of theenumeration that indicates the operation performed on the debugging/tracing switch.
[in] A pointer to the name of the debugging/tracing switch.
[in] A pointer to the name of the parent of the debugging/tracing switch.