import Logger from 'js-logger';

function initializeLogger() {
  /* eslint react-hooks/rules-of-hooks: "off" */
  Logger.useDefaults();
  if (process.env.RAILS_ENV === "production") {
    Logger.setLevel(Logger.OFF);
  }
  window.logger = Logger;
}

export { initializeLogger as default };
//# sourceMappingURL=logger.js.map
