Interface LogEntry

Log Entry object interface

interface LogEntry {
    file?: string;
    level?: LogLevel;
    line?: number;
    method?: string;
    tag?: string;
    text?: string | unknown[];
    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?: string

The log's tag

text?: string | unknown[]

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