Using the $logProvider in IONIC - How to get the current location of the call?



I added the $logProvider in my AngularJS app.


the problem is when I call it like :

        $'Hello WORLD');'Hello WORLD');

Hello WORLD ionic.bundle.min.js:122
Hello WORLD services.js:35

I can’t get the location of the call with the $log, I always have ionic.bundle.min.js:122
With the it’s working properly : services.js:35

How to get the proper location with the $log functionality ?
Thank you.


up - do you have any idea ?
Thank you very much.


Here’s a useful article which should help you out: