(category: string, action: string, label?: string, value?: number, options: { [key: string]: string } = {})
| 71 | } |
| 72 | |
| 73 | function sendEvent(category: string, action: string, label?: string, value?: number, options: { [key: string]: string } = {}) { |
| 74 | if (!telemetryEnabled()) { return; } |
| 75 | |
| 76 | analytics.event(category, action, label, Math.round(value), options).send(); |
| 77 | } |
| 78 | |
| 79 | function beginSession(id: string, opts: ConfigurationArguments) { |
| 80 | if (!telemetryEnabled()) { return; } |
nothing calls this directly
no test coverage detected