'use strict';

var Logger = require('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;
}

module.exports = initializeLogger;
//# sourceMappingURL=logger.js.map
