code: function logFn(level){
      return function(msg){
        var args = Array.prototype.slice.call(arguments);
  
        if (level === 'hr'){
          args = ['------------------------------------------------------------'];
          args.push({_hr: true});
          level = 'debug';
        }
  
        var logFn = logger[level] || console[level].bind(console);
        if (enabled.enabled) logFn.apply(logger, args);
      };
    }
docs: Wrap winston logger to be somewhat api compatible with debug