Console.ConsoleMessage

Console message.

{
  "id": "ConsoleMessage",
  "type": "object",
  "description": "Console message.",
  "properties": [
    {
      "name": "source",
      "type": "string",
      "enum": [
        "xml",
        "javascript",
        "network",
        "console-api",
        "storage",
        "appcache",
        "rendering",
        "css",
        "security",
        "content-blocker",
        "other"
      ],
      "description": "Message source."
    },
    {
      "name": "level",
      "type": "string",
      "enum": [
        "log",
        "info",
        "warning",
        "error",
        "debug"
      ],
      "description": "Message severity."
    },
    {
      "name": "text",
      "type": "string",
      "description": "Message text."
    },
    {
      "name": "type",
      "type": "string",
      "optional": true,
      "enum": [
        "log",
        "dir",
        "dirxml",
        "table",
        "trace",
        "clear",
        "startGroup",
        "startGroupCollapsed",
        "endGroup",
        "assert",
        "timing",
        "profile",
        "profileEnd"
      ],
      "description": "Console message type."
    },
    {
      "name": "url",
      "type": "string",
      "optional": true,
      "description": "URL of the message origin."
    },
    {
      "name": "line",
      "type": "integer",
      "optional": true,
      "description": "Line number in the resource that generated this message."
    },
    {
      "name": "column",
      "type": "integer",
      "optional": true,
      "description": "Column number on the line in the resource that generated this message."
    },
    {
      "name": "repeatCount",
      "type": "integer",
      "optional": true,
      "description": "Repeat count for repeated messages."
    },
    {
      "name": "parameters",
      "type": "array",
      "items": {
        "$ref": "Runtime.RemoteObject"
      },
      "optional": true,
      "description": "Message parameters in case of the formatted message."
    },
    {
      "name": "stackTrace",
      "$ref": "StackTrace",
      "optional": true,
      "description": "JavaScript stack trace for assertions and error messages."
    },
    {
      "name": "networkRequestId",
      "$ref": "Network.RequestId",
      "optional": true,
      "description": "Identifier of the network request associated with this message."
    }
  ]
}