log = (action, options = {}, status = 'info') => {
  if (typeof ((window.DD_LOGS || {}).logger || {}).log !== 'function') {
    if (me.useDataDog()) {
      console.debug('DD_LOGS not available. Log: ', action)
    }
    return
  }

  try {
    if (globalVar.application && !globalVar.application.isProduction() || window.location.hostname === 'localhost') {
      window.DD_LOGS.logger.setHandler('console')
    }

    window.DD_LOGS.logger.log(
      action,
      options,
      status
    )
  } catch (e) {
    console.warning('Error while sending datadog log', e)
  }
}
Tries to send a log to our DataDog log service.
@param {string} action - logging action
@param {object} options - object to include with the logging action
@param {string} status - status of the log, values can be 'debug', 'info', 'warn', 'error'