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

package.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":["Logger","initializeLogger","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,OAAOA,MAAM,MAAM,WAAW;AAE9B,eAAe,SAASC,gBAAgBA,CAAA,EAAG;EACzC;EACAD,MAAM,CAACE,WAAW,EAAE;EACpB,IAAIC,OAAO,CAACC,GAAG,CAACC,SAAS,KAAK,YAAY,EAAE;IAC1CL,MAAM,CAACM,QAAQ,CAACN,MAAM,CAACO,GAAG,CAAC;EAC7B;EACAC,MAAM,CAACC,MAAM,GAAGT,MAAM;AACxB"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy