@eightnineight/electron-console

1.3.1 • Public • Published

electron-console

When using console.log() in the Electron renderer process, simultaneously display log messages in both the main and renderer processes.

Install

npm install @eightnineight/electron-console

Usage

main process

import "@eightnineight/electron-console";

renderer process

import "@eightnineight/electron-console";

// use as usual, except when using console.log(function)
console.log('test');

Package Sidebar

Install

npm i @eightnineight/electron-console

Weekly Downloads

0

Version

1.3.1

License

MIT

Unpacked Size

3.46 kB

Total Files

4

Last publish

Collaborators

  • eightnineight