Skip to content

Commit

Permalink
Logger 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
freaker2k7 committed Jul 28, 2019
1 parent 3afdda4 commit b75e6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require('winston-daily-rotate-file');
module.exports = function(args) {
args.log_level = args.log_level.toLowerCase().replace(/trace/, 'silly');

var transport = null;
var transport;

if (~['debug', 'silly'].indexOf(args.log_level)) {
transport = new winston.transports.Console({
Expand Down

0 comments on commit b75e6a9

Please sign in to comment.