Skip to content

Commit

Permalink
logging platform versions at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
da1nerd committed Jul 9, 2019
1 parent a310665 commit ff52031
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(<App/>, document.getElementById('root'));

Expand Down

0 comments on commit ff52031

Please sign in to comment.