winston-electron

0.2.0 • Public • Published

winston-electron

This is a slightly modified version of the original winston console transport to work with Electron.

Install

npm i --save winston-electron

Example

import ElectronConsole from 'winston-electron';
import winston from 'winston';
 
const Log = new winston.Logger({
  transports: [
    new ElectronConsole({
      level: 'debug',
      handleExceptions: true
    })
  ]
});
 

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i winston-electron

      Weekly Downloads

      5

      Version

      0.2.0

      License

      MIT

      Last publish

      Collaborators

      • dustinblackman