lib/autoflow.js
function logEvents(flowFn, eventWildcard) {
    if (typeof(flowFn) !== 'function') { // only wildcard provided
      eventWildcard = flowFn;
      flowFn = undefined;
    }
    if (!flowFn) flowFn = autoflow; // use global
    trackTasks();
    return logEventsMod.logEvents(flowFn, eventWildcard);
  }
function logEvents(flowFn, eventWildcard) {
    if (typeof(flowFn) !== 'function') { // only wildcard provided
      eventWildcard = flowFn;
      flowFn = undefined;
    }
    if (!flowFn) flowFn = autoflow; // use global
    trackTasks();
    return logEventsMod.logEvents(flowFn, eventWildcard);
  }
function logEvents ( flowFn , eventWildcard ) { if ( typeof ( flowFn ) !== 'function' ) { // only wildcard provided eventWildcard = flowFn ; flowFn = undefined ; } if ( ! flowFn ) flowFn = autoflow ; // use global trackTasks ( ) ; return logEventsMod . logEvents ( flowFn , eventWildcard ) ; }
If called, load the built-in plugin for log events and invoke

@param flowFn [function] if not provided uses global autoflow
@param eventWildcard [string] pattern to log events for
If called load the built - in plugin for log events and invoke