1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-03-09 23:38:54 +00:00

Integrate winston logging

This commit is contained in:
Mumshad Mannambeth 2017-07-08 20:06:37 -04:00
parent fc7aafa5f6
commit 7aeb99b732
3 changed files with 38 additions and 23 deletions

View file

@ -0,0 +1,9 @@
/**
* Created by mannam4 on 7/8/2017.
*/
var winston = require('winston');
winston.add(winston.transports.File, {filename: './logs/server.log', json: false, colorize: true});
module.exports = winston;