File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,11 +140,11 @@ export class AppInsightsService implements IAppInsights {
140
140
}
141
141
142
142
// https://github.com/Microsoft/ApplicationInsights-JS/blob/master/API-reference.md#tracktrace
143
- // trackTrace(message: string, properties?: {[string]:string}, measurements ?: {[string]:number} )
143
+ // trackTrace(message: string, properties?: {[string]:string}, severityLevel ?: AI.SeverityLevel )
144
144
// Log a diagnostic event such as entering or leaving a method.
145
- trackTrace ( message : string , properties ?: { [ name : string ] : string } ) {
145
+ trackTrace ( message : string , properties ?: { [ name : string ] : string } , severityLevel ?: AI . SeverityLevel ) {
146
146
try {
147
- AppInsights . trackTrace ( message , properties ) ;
147
+ AppInsights . trackTrace ( message , properties , severityLevel ) ;
148
148
} catch ( ex ) {
149
149
console . warn ( 'Angular application insights Error [trackTrace]: ' , ex ) ;
150
150
}
You can’t perform that action at this time.
0 commit comments