SungardAS/lambda-formation

View on GitHub
lib/logger/index.js

Summary

Maintainability
A
0 mins
Test Coverage
var winston = require("winston");

module.exports = new (winston.Logger)({
    level: process.env.CFN_LOG_LEVEL || 'info',
    transports: [
        new (winston.transports.Console)({
            json: true,
            stringify: true,
            timestamp: true
        })
    ]
});