From ff52031697a8c4b3344437d73ed70dffaccf4f8f Mon Sep 17 00:00:00 2001 From: Joel Lonbeck Date: Tue, 9 Jul 2019 13:25:34 -0700 Subject: [PATCH] logging platform versions at startup --- src/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index cd658b3..e0fde53 100644 --- a/src/index.js +++ b/src/index.js @@ -8,7 +8,10 @@ import {createElectronHandler, registerLogHandler} from './logger'; // forward logs to electron's main thread registerLogHandler(createElectronHandler('log-event')); -console.log('hello world'); +// log versions +console.log('Electron', process.versions.electron); +console.log('Chrome', process.versions.chrome); +console.log('Node', process.versions.node); ReactDOM.render(, document.getElementById('root'));