MessageDetails

external interface MessageDetails(source)

Properties

Link copied to clipboard
abstract var level: Double

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

Link copied to clipboard
abstract var lineNumber: Double

The line number of the source that triggered this console message

Link copied to clipboard
abstract var message: String

The actual console message

Link copied to clipboard

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

Link copied to clipboard
abstract var sourceUrl: String

The URL the message came from

Link copied to clipboard
abstract var versionId: Double

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