0.2.0 • Published 7 years ago
winston-electron v0.2.0
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
})
]
});