Console Intercept
Canarytrace ProWhat you’ll learn#
- What is Console Intercept
Canarytrace Pro continuously collects messages, warnings, errors, debug, info etc. from browser console. All information are stored into c.console-* Elasticsearch index.
Type of messages#
Log.entryAdded#
Issued when new message was logged.
- source:
xml, javascript, network, storage, appcache, rendering, security, deprecation, worker, violation, intervention, recommendation, other - level:
verbose, info, warning, error - documentation: https://chromedevtools.github.io/devtools-protocol/tot/Log/#type-LogEntry
Log.entryAdded
Console.messageAdded#
Issued when new console message is added.
- source
xml, javascript, network, console-api, storage, appcache, rendering, security, other, deprecation, worker - level
log, warning, error, debug, info - documentation: https://chromedevtools.github.io/devtools-protocol/tot/Console/#event-messageAdded
Console.messageAdded
Runtime.consoleAPICalled#
Issued when console API was called.
- source
log, debug, info, error, warning, dir, dirxml, table, trace, clear, startGroup, startGroupCollapsed, endGroup, assert, profile, profileEnd, count, timeEnd - documentation: https://chromedevtools.github.io/devtools-protocol/tot/Runtime/#event-consoleAPICalled
Runtime.consoleAPICalled
Runtime.exceptionThrown#
Issued when exception was thrown and unhandled.
- documentation: https://chromedevtools.github.io/devtools-protocol/tot/Runtime/#event-exceptionThrown
Runtime.exceptionThrown
- Do you find mistake or have any questions? Please create issue, thanks 👍
- Have more questions? Contact us.