Runtime.consoleAPICalled

{
  "name": "consoleAPICalled",
  "parameters": [
    {
      "name": "type",
      "description": "Type of the call. This includes log, info, warn, error, debug, assert, table, trace, dir, dirxml, clear, select, count, countReset, timeEnd, exception, timeStamp, group, groupCollapsed, groupEnd.",
      "type": "string",
      "enum": [
        "log",
        "info",
        "warning",
        "error",
        "debug",
        "assert",
        "table",
        "trace",
        "dir",
        "dirxml",
        "clear",
        "select",
        "count",
        "countReset",
        "timeEnd",
        "timeStamp",
        "startGroup",
        "startGroupCollapsed",
        "endGroup"
      ]
    },
    {
      "name": "args",
      "description": "Call arguments.",
      "type": "array",
      "items": {
        "$ref": "RemoteObject"
      }
    },
    {
      "name": "executionContextId",
      "description": "Identifier of the context where console call was made",
      "$ref": "ExecutionContextId"
    },
    {
      "name": "timestamp",
      "description": "Call timestamp.",
      "$ref": "Timestamp",
      "optional": true
    },
    {
      "name": "stackTrace",
      "description": "Stack trace captured if available",
      "$ref": "StackTrace",
      "optional": true
    }
  ]
}