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);
    };
  }
// Wrap winston logger to be somewhat api compatible with debug
Wrap winston logger to be somewhat api compatible with debug
Wrap winston logger to be somewhat api compatible with debug
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);
    };
  }
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 ) ; } ; }
Wrap winston logger to be somewhat api compatible with debug
Wrap winston logger to be somewhat api compatible with debug