View Source GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoConsoleLogEntry (google_api_content_warehouse v0.4.0)

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

  • lineNumber (type: integer(), default: nil) - Line number of the document which caused an error.
  • 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.
  • messageLevel (type: String.t, default: nil) - message level
  • sourceUrl (type: String.t, default: nil) - The url of the document which has the error.
  • stackTrace (type: list(GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoScriptStackFrame.t), default: nil) - Stack trace which functions were called when generating the console log. The first frame is the innermost one.
  • timestamp (type: float(), default: nil) - Wall time (s) when the log entry was recorded

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.