code: 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);
    }
docs: 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