File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ DevTools console (renderer process).
106106
107107[ Read more about console transport] ( docs/transports/console.md ) .
108108
109- #### File transport
109+ #### File transport (main process only)
110110
111111The file transport writes log messages to a file.
112112
@@ -128,12 +128,16 @@ It displays log messages from main process in the renderer's DevTools console.
128128By default, it's disabled for a production build. You can enable in the
129129production mode by setting the ` level ` property.
130130
131+ In the renderer process, this transport does the opposite: it sends the data
132+ to the main process via IPC. Then, the data is written to the console and
133+ the filesystem.
134+
131135
132136##### Options
133137
134138 - ** level** , default 'silly' in the dev mode, ` false ` in the production.
135139
136- #### Remote transport
140+ #### Remote transport (main process only)
137141
138142Sends a JSON POST request with ` LogMessage ` in the body to the specified url.
139143
Original file line number Diff line number Diff line change 1- # File transport
1+ # File transport (main process only)
22
3- The file transport writes log messages to a file.
3+ The file transport writes log messages to a file
44
55## Options
66
Original file line number Diff line number Diff line change 1- # Remote transport
1+ # Remote transport (main process only)
22
33Sends a JSON POST request with ` LogMessage ` in the body to the specified url.
44
You can’t perform that action at this time.
0 commit comments