Header menu logo fable-electron-docs-api

IOnConsoleMessage Type

Fired when the guest window logs a console message.The following example code forwards all log messages to the embedder's console without regard for log level or other properties.

Instance members

Instance member Description

this.level

Full Usage: this.level

Modifiers: abstract

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

this.line

Full Usage: this.line

Modifiers: abstract

The line number of the source that triggered this console message

this.message

Full Usage: this.message

Modifiers: abstract

The actual console message

this.sourceId

Full Usage: this.sourceId

Modifiers: abstract

Type something to start searching.