electron/docs/api
Zhuo Lu ab24a1e36d feat: netLog API for dynamic logging control (#13068)
* Introduce `net.{start|stop}Logging()`

- Slight regression right now as Electron won't automatically start logging net-logs at launch, will soon be fixed
- To implement callback for async controls

* Add `net.isLogging` & optional callback param for `net.stopLogging()`

* Fix small regression on --log-net-log

--log-net-log should work again

* Error on empty file path

* Only start with valid file path

* Remove unused var

* Allow setting log file path before URLRequestContextGetter starts logging

* Add net log tests

* Remove redundant checks

* Use brightray::NetLog

* Clean up code

* Should automatically stop listening

* 🎨 Attempt to fix styles

* Only run non-null callback

* Dump file to tmpdir

* Simplify net log spec

Spawned Electron process on Linux CI can fail to launch

* Separate netLog module

* Remove net logging test from net spec

* Add tests for netLog

* Fix header guard

* Clean up code

* Add netLog.currentlyLoggingPath

* Callback with filepath

* Add test for case when only .stopLogging() is called

* Add docs

* Reintroduce error on invalid arg

* Update copyright

* Update error message

* Juggle file path string types
2018-06-19 11:45:58 +10:00
..
structures docs: deprecate UploadFileSystem (#13064) 2018-05-25 10:50:27 -07:00
accelerator.md
app.md fix: Update broken dock link in app doc 2018-05-24 21:21:08 +02:00
auto-updater.md clarify usage around before-quit-for-update event 2018-04-16 08:13:04 -04:00
breaking-changes.md docs: copyediting of breaking-changes.md 2018-05-29 11:42:20 +02:00
browser-view.md Document BrowserView.{destroy,isDestroyed} (#12274) 2018-03-15 16:15:56 +09:00
browser-window-proxy.md updates to the docs 2017-07-24 10:29:45 +02:00
browser-window.md rename blinkFeatures to enableBlinkFeatures 2018-05-23 14:01:34 -07:00
chrome-command-line-switches.md Remove more words (#12852) 2018-05-08 00:16:09 -05:00
client-request.md Disallow launching unknown apps via browser client. 2018-01-22 16:49:30 -06:00
clipboard.md Update electron.atom.io -> electronjs.org 2017-11-19 04:01:33 -08:00
content-tracing.md
cookies.md Merge pull request #11282 from Toinane/fix-documentation 2017-12-03 09:01:24 -06:00
crash-reporter.md Include backtrace i/o as a crash reporter backend option 2018-02-28 14:21:14 -05:00
debugger.md
desktop-capturer.md 📝 Fix desktopCapturer example (#10303) 2017-08-18 22:02:28 +02:00
dialog.md Mark securityScopedBookmarks as optional and a boolean (#11901) 2018-02-12 13:48:45 -05:00
download-item.md docs: specify string values for DownloadItem 2018-01-03 13:34:19 +11:00
environment-variables.md Provide an easy way to use a local build of Electron (#12426) 2018-03-25 00:03:17 -04:00
file-object.md this code is not care a bubbling event 2017-07-11 15:44:08 +09:00
frameless-window.md remove some beginner-unfriendly terms from docs 2018-05-07 08:46:14 -07:00
global-shortcut.md
in-app-purchase.md docs: fix the type information in in-app-purchase 2018-05-03 09:34:21 -07:00
incoming-message.md updates to the docs 2017-07-24 10:29:45 +02:00
ipc-main.md fix broken fragment link in ipc-main.md (#12389) 2018-03-21 12:05:27 -05:00
ipc-renderer.md add some markdown links 2017-11-29 12:13:45 +01:00
locales.md Use actual Chromium l10n_util list in locales.md 2017-05-01 17:15:37 -04:00
menu-item.md MenuItem roles camelCase-compatible 2017-12-28 13:28:20 +08:00
menu.md Remove more words (#12852) 2018-05-08 00:16:09 -05:00
native-image.md clarify docs 2018-06-02 20:41:19 +02:00
net-log.md feat: netLog API for dynamic logging control (#13068) 2018-06-19 11:45:58 +10:00
net.md
notification.md Remove more words (#12852) 2018-05-08 00:16:09 -05:00
power-monitor.md Screen Lock / Unlock events (#12714) 2018-05-01 02:04:27 +10:00
power-save-blocker.md remove all double spaces not needed 2017-11-29 11:58:24 +01:00
process.md Add process.getHeapStatistics() (#13183) 2018-06-10 22:00:36 +10:00
protocol.md remove all double spaces not needed 2017-11-29 11:58:24 +01:00
remote.md docs: update remote.md (#13229) 2018-06-16 16:21:07 +10:00
sandbox-option.md Remove more words (#12852) 2018-05-08 00:16:09 -05:00
screen.md remove screen.getMenuBarHeight() deprecation 2018-05-23 09:11:48 -07:00
session.md Clear cache storage data (#12546) 2018-04-13 13:03:16 -04:00
shell.md 📝 Fix url to unity-launcher and tiny correction (#12084) 2018-02-28 18:28:40 -06:00
synopsis.md Remove more words (#12852) 2018-05-08 00:16:09 -05:00
system-preferences.md Workspace notifications support on macOS (#12093) 2018-03-22 18:41:03 +09:00
touch-bar-button.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-color-picker.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-group.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-label.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-popover.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-scrubber.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-segmented-control.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-slider.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar-spacer.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
touch-bar.md 📝 Fix dead urls 2018-04-09 17:58:10 -03:00
tray.md fix docs formatting for ts defs (#12968) 2018-05-16 14:59:44 -07:00
web-contents.md Doc: Delete unnecessary require and update flag name 2018-06-12 20:17:16 +01:00
web-frame.md remove webFrame.registerURLSchemeAsSecure() deprecation 2018-05-23 09:33:57 -07:00
web-request.md feat(docs): fix 'optional' wording 2017-11-28 18:15:15 +01:00
webview-tag.md docs: fix broken link to commit message guidelines (#13233) 2018-06-15 19:43:03 -05:00
window-open.md add some markdown links 2017-11-29 12:13:45 +01:00