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
    })
  ]
});
 

/winston-electron/

    Package Sidebar

    Install

    npm i winston-electron

    Weekly Downloads

    4

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • dustinblackman