ICorDebugProcess::ModifyLogSwitch Method

Sets the severity level of the specified log switch.

Syntax

HRESULT ModifyLogSwitch(
    [in] WCHAR *pLogSwitchName,
    [in] LONG  lLevel);

Parameters

pLogSwitchName [in] A pointer to a string that specifies the name of the log switch.

lLevel [in] The severity level to be set for the specified log switch.

Remarks

This method is valid only after the ICorDebugManagedCallback::CreateProcess callback has occurred.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0