Files
ry.kazcloud.dev/node_modules/yaml-language-server/lib/esm/languageserver/telemetry.js
Ryan Kazokas d181f77fb2
All checks were successful
Build and Push / build (push) Successful in 55s
Updates dockerfile
2026-02-16 15:09:37 -05:00

19 lines
776 B
JavaScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Red Hat, Inc. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export class TelemetryImpl {
constructor(connection) {
this.connection = connection;
}
send(event) {
this.connection.telemetry.logEvent(event);
}
sendError(name, properties) {
this.send({ name, type: 'track', properties: properties });
}
sendTrack(name, properties) {
this.send({ name, type: 'track', properties: properties });
}
}
//# sourceMappingURL=telemetry.js.map