@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
35 lines (33 loc) • 1.61 kB
text/typescript
/*---------------------------------------------------------------------------------------------
* 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>;
}