mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: update to standard 12
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
Process: [Main](../glossary.md#main-process)
|
||||
|
||||
```javascript
|
||||
const {netLog} = require('electron')
|
||||
const { netLog } = require('electron')
|
||||
console.log('Start recording net-logs')
|
||||
netLog.startLogging('/path/to/net-log')
|
||||
// After some network events
|
||||
|
||||
Reference in New Issue
Block a user