Skip to content

Commit

Permalink
chore(docs): Add processType to __ELECTRON_LOG__ IPC sample
Browse files Browse the repository at this point in the history
  • Loading branch information
megahertz committed Mar 22, 2024
1 parent 9668b39 commit db9f9d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/initialize.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ ipcRenderer.send('__ELECTRON_LOG__', {
// LogMessage-like object
data: ['Log from a renderer'],
level: 'info',
variables: { processType: 'renderer' },
// ... some other optional fields like scope, logId and so on
});
```

0 comments on commit db9f9d6

Please sign in to comment.