All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.initializers.logger.js.map Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
{"version":3,"file":"logger.js","names":["_jsLogger","_interopRequireDefault","require","initializeLogger","Logger","useDefaults","process","env","RAILS_ENV","setLevel","OFF","window","logger"],"sources":["../../../src/initializers/logger.js"],"sourcesContent":["import Logger from \"js-logger\";\n\nexport default function initializeLogger() {\n  /* eslint react-hooks/rules-of-hooks: \"off\" */\n  Logger.useDefaults();\n  if (process.env.RAILS_ENV === \"production\") {\n    Logger.setLevel(Logger.OFF);\n  }\n  window.logger = Logger;\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEe,SAASC,gBAAgBA,CAAA,EAAG;EACzC;EACAC,oBAAM,CAACC,WAAW,EAAE;EACpB,IAAIC,OAAO,CAACC,GAAG,CAACC,SAAS,KAAK,YAAY,EAAE;IAC1CJ,oBAAM,CAACK,QAAQ,CAACL,oBAAM,CAACM,GAAG,CAAC;EAC7B;EACAC,MAAM,CAACC,MAAM,GAAGR,oBAAM;AACxB"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy