Share via


ICorDebugProcess::ModifyLogSwitch Method

Sets the severity level of the specified log switch.

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 .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugProcess Interface

ICorDebugProcess2 Interface