logtown-winston
Logtown wrapper for winston logger
Installation
yarn add logtown-winston winston
or
npm install logtown-winston winston
Usage
const logtown = ;const WinstonWrapper = ;const winston = ; const customTransportsArray = json: false colorize: true prettyPrint: true timestamp: true handleExceptions: true align: false level: 'silly' ; const customWinstonOptions = exitOnError: false; logtown;
For reference of winston options see winston docs
ES5 usage
var WinstonWrapper = ;
License
Logtown-winston is released under the MIT license.