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:
parent
fc7aafa5f6
commit
7aeb99b732
3 changed files with 38 additions and 23 deletions
9
server/components/logger/winston.js
Normal file
9
server/components/logger/winston.js
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue