@@ -34,58 +34,58 @@ export class AppInsightsService {
34
34
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#trackpageview
35
35
// trackPageView(name?: string, url?: string, properties?:{[string]:string}, measurements?: {[string]:number}, duration?: number)
36
36
// Logs that a page or similar container was displayed to the user.
37
- trackPageView ( ) { return notImplemented ( 'trackPageView' ) ; }
37
+ trackPageView ( ) { return this . notImplemented ( 'trackPageView' ) ; }
38
38
39
39
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#starttrackpage
40
40
// startTrackPage(name?: string)
41
41
// Starts the timer for tracking a page view. Use this instead of trackPageView if you want to control when the
42
42
// page view timer starts and stops, but don't want to calculate the duration yourself. This method doesn't send any
43
43
// telemetry. Call stopTrackPage to log the end of the page view and send the event.
44
- startTrackPage ( name ?: string ) { return notImplemented ( 'startTrackPage' ) ; }
44
+ startTrackPage ( name ?: string ) { return this . notImplemented ( 'startTrackPage' ) ; }
45
45
46
46
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#stoptrackpage
47
47
// stopTrackPage(name?: string, url?: string, properties?: Object, measurements?: Object)
48
48
// Stops the timer that was started by calling startTrackPage and sends the page view telemetry with the
49
49
// specified properties and measurements. The duration of the page view will be the time between calling startTrackPage and stopTrackPage.
50
- stopTrackPage ( ) { return notImplemented ( 'stopTrackPage' ) ; }
50
+ stopTrackPage ( ) { return this . notImplemented ( 'stopTrackPage' ) ; }
51
51
52
52
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#trackmetric
53
53
// trackMetric(name: string, average: number, sampleCount?: number, min?: number, max?: number, properties?: {[string]:string})
54
54
// Log a positive numeric value that is not associated with a specific event.
55
55
// Typically used to send regular reports of performance indicators.
56
- trackMetric ( ) { return notImplemented ( 'trackMetric' ) ; }
56
+ trackMetric ( ) { return this . notImplemented ( 'trackMetric' ) ; }
57
57
58
58
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#trackexception
59
59
// trackException(exception: Error, handledAt?: string, properties?: {[string]:string}, measurements?: {[string]:number}, severityLevel?: AI.SeverityLevel)
60
60
// Log an exception you have caught. (Exceptions caught by the browser are also logged.)
61
- trackException ( ) { return notImplemented ( 'trackException' ) ; }
61
+ trackException ( ) { return this . notImplemented ( 'trackException' ) ; }
62
62
63
63
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#tracktrace
64
64
// trackTrace(message: string, properties?: {[string]:string}, measurements?: {[string]:number})
65
65
// Log a diagnostic event such as entering or leaving a method.
66
- trackTrace ( ) { return notImplemented ( 'trackTrace' ) ; }
66
+ trackTrace ( ) { return this . notImplemented ( 'trackTrace' ) ; }
67
67
68
68
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#trackdependency
69
69
// trackDependency(id: string, method: string, absoluteUrl: string, pathName: string, totalTime: number, success: boolean, resultCode: number)
70
70
// Log a dependency call (for instance: ajax)
71
- trackDependency ( ) { return notImplemented ( 'trackDependency' ) ; }
71
+ trackDependency ( ) { return this . notImplemented ( 'trackDependency' ) ; }
72
72
73
73
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#flush
74
74
// flush()
75
75
// Immediately send all queued telemetry. Synchronous.
76
76
// * You don't usually have to use this, as it happens automatically on window closing.
77
- flush ( ) { return notImplemented ( 'flush' ) ; }
77
+ flush ( ) { return this . notImplemented ( 'flush' ) ; }
78
78
79
79
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#setauthenticatedusercontext
80
80
// setAuthenticatedUserContext(authenticatedUserId: string, accountId?: string)
81
81
// Set the authenticated user id and the account id in this session. Use this when you have identified a specific
82
82
// signed-in user. Parameters must not contain spaces or ,;=|
83
- setAuthenticatedUserContext ( ) { return notImplemented ( 'setAuthenticatedUserContext' ) ; }
83
+ setAuthenticatedUserContext ( ) { return this . notImplemented ( 'setAuthenticatedUserContext' ) ; }
84
84
85
85
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#clearauthenticatedusercontext
86
86
// clearAuthenticatedUserContext ()
87
87
// Clears the authenticated user id and the account id from the user context, and clears the associated cookie.
88
- clearAuthenticatedUserContext ( ) { return notImplemented ( 'clearAuthenticatedUserContext' ) ; }
88
+ clearAuthenticatedUserContext ( ) { return this . notImplemented ( 'clearAuthenticatedUserContext' ) ; }
89
89
90
90
91
91
/*
0 commit comments