Runtime.consoleAPICalled

Issued when console API was called.

{
  "name": "consoleAPICalled",
  "description": "Issued when console API was called.",
  "parameters": [
    {
      "name": "type",
      "type": "string",
      "enum": [
        "log",
        "debug",
        "info",
        "error",
        "warning",
        "dir",
        "dirxml",
        "table",
        "trace",
        "clear",
        "startGroup",
        "startGroupCollapsed",
        "endGroup",
        "assert",
        "profile",
        "profileEnd",
        "count",
        "timeEnd"
      ],
      "description": "Type of the call."
    },
    {
      "name": "args",
      "type": "array",
      "items": {
        "$ref": "RemoteObject"
      },
      "description": "Call arguments."
    },
    {
      "name": "executionContextId",
      "$ref": "ExecutionContextId",
      "description": "Identifier of the context where the call was made."
    },
    {
      "name": "timestamp",
      "$ref": "Timestamp",
      "description": "Call timestamp."
    },
    {
      "name": "stackTrace",
      "$ref": "StackTrace",
      "optional": true,
      "description": "Stack trace captured when the call was made."
    }
  ]
}