text: var winston = require('winston');
  
  var customLogger = {
  	levels: {
  		debug: 0,
  		verbose: 1,
  		info: 2,
  		warn: 3,
  		warning: 3,
  		error: 4
  	},
  	colors: {
  		debug: 'blue',
  		verbose: 'yellow',
  		info: 'green',
  		// warn: 'orange',
  		warning: 'orange',
  		error: 'red'
  	}
  };
  
  var logger = new (winston.Logger)({
  	levels: customLogger.levels,
  	transports : [
  		new (winston.transports.Console)({
  			json : false,
  			timestamp : true,
  			colorize: true,
  			level: 'debug'
  		}),
  		// new winston.transports.File({
  		// 	filename : 'var/logs/debug.log',
  		// 	json : true,
  		// 	level: 'debug',
  		// 	maxsize: 10000,
  		// 	maxFiles: 10
  		// })
  	],
  	exceptionHandlers : [
  		new (winston.transports.Console)({
  			json : true,
  			timestamp : true
  		}),
  	 // new winston.transports.File({
  		// 	filename : 'var/logs/exceptions.log',
  		// 	json : false,
  		// 	maxsize: 10000,
  		// 	maxFiles: 10
  		// })
  	],
  	exitOnError : false
  });
  winston.addColors(customLogger.colors);
  module.exports = logger; 