Skip to content

ElectronNetLog

Unofficial

Records network events for a session to a file for later analysis.

Import:

import type { ElectronNetLog } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronNetLog

Properties

PropertyTypeDescription
currentlyLoggingbooleanWhether network logs are currently being recorded.

Methods

MethodReturnsDescription
startLogging(path, options?)Promise<void>Starts recording network events to path.
stopLogging()Promise<void>Stops recording network events. If not called, net logging will automatically end when the app quits.

Links to this page: