1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Remove console logging

This commit is contained in:
James Salter
2021-07-21 07:42:44 +01:00
parent 2a48d3c9bc
commit d4550c1a28

View File

@@ -42,7 +42,6 @@ export class PosthogAnalytics {
this.onlyTrackAnonymousEvents = onlyTrackAnonymousEvents; this.onlyTrackAnonymousEvents = onlyTrackAnonymousEvents;
const posthogConfig = SdkConfig.get()["posthog"]; const posthogConfig = SdkConfig.get()["posthog"];
if (posthogConfig) { if (posthogConfig) {
console.log(`Initialising Posthog for ${posthogConfig.apiHost}`);
this.posthog.init(posthogConfig.projectApiKey, { api_host: posthogConfig.apiHost }); this.posthog.init(posthogConfig.projectApiKey, { api_host: posthogConfig.apiHost });
this.initialised = true; this.initialised = true;
} }