Header menu logo fable-electron-docs-api

MessageDetails Type

Constructors

Constructor Description

MessageDetails(message, versionId, source, level, sourceUrl, lineNumber)

Full Usage: MessageDetails(message, versionId, source, level, sourceUrl, lineNumber)

Parameters:
    message : string - The actual console message
    versionId : float - The version ID of the service worker that sent the log message
    source : Source - The type of source for this message. Can be javascript, xml, network, console-api, storage, rendering, security, deprecation, worker, violation, intervention, recommendation or other.
    level : float - The log level, from 0 to 3. In order it matches verbose, info, warning and error.
    sourceUrl : string - The URL the message came from
    lineNumber : float - The line number of the source that triggered this console message

Returns: MessageDetails
message : string

The actual console message

versionId : float

The version ID of the service worker that sent the log message

source : Source

The type of source for this message. Can be javascript, xml, network, console-api, storage, rendering, security, deprecation, worker, violation, intervention, recommendation or other.

level : float

The log level, from 0 to 3. In order it matches verbose, info, warning and error.

sourceUrl : string

The URL the message came from

lineNumber : float

The line number of the source that triggered this console message

Returns: MessageDetails

Instance members

Instance member Description

this.level

Full Usage: this.level

The log level, from 0 to 3. In order it matches verbose, info, warning and error.

this.lineNumber

Full Usage: this.lineNumber

The line number of the source that triggered this console message

this.message

Full Usage: this.message

The actual console message

this.source

Full Usage: this.source

The type of source for this message. Can be javascript, xml, network, console-api, storage, rendering, security, deprecation, worker, violation, intervention, recommendation or other.

this.sourceUrl

Full Usage: this.sourceUrl

The URL the message came from

this.versionId

Full Usage: this.versionId

The version ID of the service worker that sent the log message

Type something to start searching.