signale-transport
v1.0.0
Published
using signale as winston transport
Downloads
12
Readme
Signale-Transport
Installation
$ npm install signale-transport
Usage
const { createLogger } = require('winston');
const SignaleTransport = require('signale-transport');
const logger = createLogger({
transports: [
// ...
]
});
if (process.env.NODE_ENV !== 'production') {
logger.add(new SignaleTransport({
level: 'info', // error/warn/info/verbose/silly
}));
}