Skip to content

log

Inject JS code into the page to capture JS exceptions and console.xxx logs, and display them on the Whistle management interface.

Rule Syntax

txt
pattern log://id [filters...]
ParametersDescriptionDetailed Documentation
patternExpression to match request URLsMatch Pattern Documentation
idLog ID, a plain string, used for group filtering
filtersOptional filters, supports matching: • Request URL/Method/Headers/Content • Response Status Code/HeadersFilter Documentation

Configuration Example

txt
www.qq.com log://

log basic

txt
ke.qq.com log://ke
news.qq.com log://news

log switch