Interface JsEventLogEntry

Log Entry object interface

interface JsEventLogEntry {
    file?: string;
    level?: LogLevel;
    line?: number;
    method?: string;
    tag: "js_event";
    text: string;
    url: string;
}

Hierarchy (view full)

Properties

file?: string

The file name where the log was triggered from

level?: LogLevel

The log's level based on LogLevel constant

line?: number

The line number where the log was triggered from

method?: string

The method name where the log was triggered from

tag: "js_event"

The log's tag

text: string

Text can be either:

  • string with the content
  • unknown[] array compatible with console.* signature
url: string

The log's origin URL. This attribute is ignored on Android & iOS