function log(msg, error) {
  debugBuild.DEBUG_BUILD && utils.logger.info(`[Offline]: ${msg}`, error);
}
Wraps a transport and stores and retries events when they fail to send.

@param createTransport The transport to wrap.