ELECTRON-907: add logging for browser window and web contents

This commit is contained in:
Vishwas Shashidhar
2018-11-27 17:24:15 -08:00
parent 2c277712ad
commit 1153814359
3 changed files with 44 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ function gatherMemory() {
' peakWorkingSetSize: ' + memory.peakWorkingSetSize +
' privatesBytes: ' + memory.privatesBytes +
' sharedBytes: ' + memory.sharedBytes;
log.send(logLevels.INFO, details);
log.send(logLevels.INFO, `Current Memory Stats -> ${details}`);
}
/**