UNPKG

sussudio

Version:

An unofficial VS Code Internal API

23 lines (22 loc) 1.63 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { IConfigurationService } from "../../configuration/common/configuration.mjs"; import { IEnvironmentService } from "../../environment/common/environment.mjs"; import { ILoggerService } from "../../log/common/log.mjs"; import { IProductService } from "../../product/common/productService.mjs"; import { ICustomEndpointTelemetryService, ITelemetryData, ITelemetryEndpoint, ITelemetryService } from "../common/telemetry.mjs"; export declare class CustomEndpointTelemetryService implements ICustomEndpointTelemetryService { private readonly configurationService; private readonly telemetryService; private readonly loggerService; private readonly environmentService; private readonly productService; readonly _serviceBrand: undefined; private customTelemetryServices; constructor(configurationService: IConfigurationService, telemetryService: ITelemetryService, loggerService: ILoggerService, environmentService: IEnvironmentService, productService: IProductService); private getCustomTelemetryService; publicLog(telemetryEndpoint: ITelemetryEndpoint, eventName: string, data?: ITelemetryData): Promise<void>; publicLogError(telemetryEndpoint: ITelemetryEndpoint, errorEventName: string, data?: ITelemetryData): Promise<void>; }