Notifies the debugger that a common language runtime (CLR) managed thread has called a method in theclass to log an event.
HRESULT LogMessage ( [in] ICorDebugAppDomain *pAppDomain, [in] ICorDebugThread *pThread, [in] LONG lLevel, [in] WCHAR *pLogSwitchName, [in] WCHAR *pMessage );
[in] A pointer to anobject that represents the application domain containing the managed thread that logged the event.
[in] A pointer to anobject that represents the managed thread.
[in] A value of theenumeration that indicates the severity level of the descriptive message that was written to the event log.
[in] A pointer to the name of the tracing switch.
[in] A pointer to the message that was written to the event log.