(eventName: TelemetryEventName)
| 23 | ) {} |
| 24 | |
| 25 | protected isEventCapturable(eventName: TelemetryEventName): boolean { |
| 26 | if (!this.subscription) { |
| 27 | return true |
| 28 | } |
| 29 | |
| 30 | return this.subscription.type === "include" |
| 31 | ? this.subscription.events.includes(eventName) |
| 32 | : !this.subscription.events.includes(eventName) |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Determines if a specific property should be included in telemetry events |
no outgoing calls
no test coverage detected