Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Slightly modified version of Winston Console to work with Electron

License

Notifications You must be signed in to change notification settings

dustinblackman/winston-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Slightly modified version of Winston Console to work with Electron

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published