ElectronNetLog.startLogging method
ElectronNetLog › startLogging
Unofficial
Starts recording network events topath. Signature:
startLogging(path: string, options?: ElectronStartLoggingOptions | undefined): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| path | string | The file path to write the log to. |
| options? | ElectronStartLoggingOptions | undefined | Options controlling how events are captured. |
Returns: Promise<void> — A promise that resolves when the net log has begun recording.