Skip to content

ElectronMessageDetails

Unofficial

Details of a console message logged by a service worker.

Import:

import type { ElectronMessageDetails } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronMessageDetails

Properties

PropertyTypeDescription
levelnumberThe log level, from 0 to 3, matching verbose, info, warning and error.
lineNumbernumberThe line number of the source that triggered this console message.
messagestringThe actual console message.
source'console-api' | 'deprecation' | 'intervention' | 'javascript' | 'network' | 'other' | 'recommendation' | 'rendering' | 'security' | 'storage' | 'violation' | 'worker' | 'xml'The type of source for this message.
sourceUrlstringThe URL the message came from.
versionIdnumberThe version ID of the service worker that sent the log message.