UNPKG

lex-deploy

Version:

CI tool for export, deploy and publish of aws lex bot

11 lines (8 loc) 291 B
const winston = require('winston'); const level = process.env.LOG_LEVEL || 'info'; const log = winston.createLogger({ level, format: winston.format.combine(winston.format.colorize(), winston.format.simple()), transports: [new winston.transports.Console()], }); module.exports = log;