Home > front end >  The inside of the node_modules method, can replace the global?
The inside of the node_modules method, can replace the global?

Time:12-09

With pomelo framework, will start the app output some logs, the log is pomelo own, which is based on log4js, is there any way I can let me start the app. The js, use my method to replace
Var loggerOri=the require (' pomelo - logger ');
Var loggerNew=the require ("../myLog);
Like when I was in the launcher, delete the module code inside again wrote a,
This program inside all logs, according to my new writing method to perform?
  • Related