HttpWatch Automation Reference - Version 15.x
HttpWatch Namespace / Log Class / EnableWarningByID Method
The ID of the warning that you wish to change, e.g. "HW1001" or "HW2002"
Use true to enable the warning and false to disable it

EnableWarningByID Method
Enables or disables the use of a single type of warning in the Log object.
Syntax
'Declaration
 
Public Sub EnableWarningByID( _
   ByVal warningID As String, _
   ByVal enable As Boolean _
) 
 

Parameters

warningID
The ID of the warning that you wish to change, e.g. "HW1001" or "HW2002"
enable
Use true to enable the warning and false to disable it
Remarks

If a warning, such as 'HW1007 - Remove unnecessary characters from Javascript...', is disabled it will no longer be added to requests that would normally cause the warning.

This is useful if there are certain warnings that you wish to ignore or over which you have no control.

Requirements
 
See Also