better-js-logging / angular-logger

angular-logger2 released! Enhance $log for better logging, including patterns and level management
https://github.com/better-js-logging/angular-logger2
MIT License
46 stars 10 forks source link

Not calling the module.run() when using AngularJS 1.7.x #27

Open jakrzysztow opened 5 years ago

jakrzysztow commented 5 years ago

I am trying to update from AngularJS 1.5 to AngularJS 1.7 and it seems something in the order of execution has changed.

The $log is being used before the module.run(), so the getInstance() is not present, causing the application to crash.

I was wondering if anyone has come across this and may have a solution.

I will keep poking around to see if I can figure it out in the meantime.

bbottema commented 5 years ago

Your help is appreciated!