This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$log conflicts with other code that messes with console #9689
Open
Description
I converted our Cordova application to use $log
only to realize afterwards, that I no longer get any log output when debugging iOS.
I realized that this is due to the fact that console.log
is replaced and redirected to my debugger, but $log
will still use the "old" console.log
which isn't redirected.
I couldn't see a simple way to get $log
to use the redirected console.log
functions, so I'm asking for suggestions on how to handle this. For now, I'm just going to revert back to calling console.log
directly.