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 ElectronMessageDetailsProperties
| Property | Type | Description | |
|---|---|---|---|
| level | number | The log level, from 0 to 3, matching verbose, info, warning and error. | |
| lineNumber | number | The line number of the source that triggered this console message. | |
| message | string | The 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. | |
| sourceUrl | string | The URL the message came from. | |
| versionId | number | The version ID of the service worker that sent the log message. |