(eventName: TelemetryEventName)
| 16 | ) {} |
| 17 | |
| 18 | protected isEventCapturable(eventName: TelemetryEventName): boolean { |
| 19 | if (!this.subscription) { |
| 20 | return true |
| 21 | } |
| 22 | |
| 23 | return this.subscription.type === "include" |
| 24 | ? this.subscription.events.includes(eventName) |
| 25 | : !this.subscription.events.includes(eventName) |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Determines if a specific property should be included in telemetry events |
no outgoing calls
no test coverage detected