Log.LogEntry

Log entry.

{
  "id": "LogEntry",
  "type": "object",
  "description": "Log entry.",
  "properties": [
    {
      "name": "source",
      "type": "string",
      "enum": [
        "xml",
        "javascript",
        "network",
        "storage",
        "appcache",
        "rendering",
        "security",
        "deprecation",
        "worker",
        "other"
      ],
      "description": "Log entry source."
    },
    {
      "name": "level",
      "type": "string",
      "enum": [
        "log",
        "warning",
        "error",
        "debug",
        "info"
      ],
      "description": "Log entry severity."
    },
    {
      "name": "text",
      "type": "string",
      "description": "Logged text."
    },
    {
      "name": "timestamp",
      "$ref": "Runtime.Timestamp",
      "description": "Timestamp when this entry was added."
    },
    {
      "name": "url",
      "type": "string",
      "optional": true,
      "description": "URL of the resource if known."
    },
    {
      "name": "lineNumber",
      "type": "integer",
      "optional": true,
      "description": "Line number in the resource."
    },
    {
      "name": "stackTrace",
      "$ref": "Runtime.StackTrace",
      "optional": true,
      "description": "JavaScript stack trace."
    },
    {
      "name": "networkRequestId",
      "$ref": "Network.RequestId",
      "optional": true,
      "description": "Identifier of the network request associated with this entry."
    },
    {
      "name": "workerId",
      "type": "string",
      "optional": true,
      "description": "Identifier of the worker associated with this entry."
    }
  ]
}