HtmlrenderWebkitHeadlessProtoConsoleLogEntry

GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoConsoleLogEntry


Table of Contents ▼

Jump to a specific part of the page:

Description

ConsoleLogEntry message stores messages logged by the renderer to the console. Typically error messages related to JS execution, parsing, any CSS errors, etc are logged by the renderer to the console. Next id: 7.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. lineNumber (type: integer(), default: nil)
    - Line number of the document which caused an error.
  2. message (type: String.t, default: nil)
    - Message which indicates the nature of the error. e.g. parse error, reference error (happens when javascript functions or variables are not resolvable) etc.
  3. messageLevel (type: String.t, default: nil)
    - message level
  4. sourceUrl (type: String.t, default: nil)
    - The url of the document which has the error.
  5. stackTrace (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoScriptStackFrame), default: nil)
    - Stack trace which functions were called when generating the console log. The first frame is the innermost one.
  6. timestamp (type: float(), default: nil)
    - Wall time (s) when the log entry was recorded

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoConsoleLogEntry{
lineNumber: integer() | nil,
message: String.t() | nil,
messageLevel: String.t() | nil,
sourceUrl: String.t() | nil,
stackTrace: [ GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoScriptStackFrame.t() ] | nil,
timestamp: float() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoConsoleLogEntry