angular-appinsights icon indicating copy to clipboard operation
angular-appinsights copied to clipboard

insights.logEvent is not a function

Open rw-bkew opened this issue 7 years ago • 1 comments

Just installed version 0.0.4 and we are getting this message whenever we try to log an error. I looked through the new version and didn't see a trace of logEvent.

Your readme is still referring to logEvent.

rw-bkew avatar Apr 04 '17 20:04 rw-bkew

The logEvent call should be replaced with trackEvent.

Just use the standard js SDK methods to interact with appinsights in your code (as per https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md)

rbanks54 avatar Apr 05 '17 02:04 rbanks54