all files / lib/util/ logger.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                           
'use strict';
 
var log4js = require('log4js');
 
log4js.configure({
  appenders: [
    {
      type: 'console',
      layout: {
        type: 'pattern',
        pattern: '%r %[%-5p%] %m'
      }
    }
  ]
});
 
module.exports = new log4js.getLogger('fecom');