Revert "Capture livekit's logs in rageshakes"

This commit is contained in:
David Baker
2023-09-25 09:32:32 +01:00
committed by GitHub
parent 444a37224b
commit b0f63eb2ff
2 changed files with 4 additions and 7 deletions

View File

@@ -23,19 +23,13 @@ import "matrix-js-sdk/src/browser-index";
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { createBrowserHistory } from "history";
import "./index.css";
import { setLogLevel as setLKLogLevel } from "livekit-client";
import "./index.css";
import App from "./App";
import { init as initRageshake } from "./settings/rageshake";
import { Initializer } from "./initializer";
initRageshake();
// set livekit's log level: we do this after initialising rageshakes because
// we need rageshake to do its monkey patching first, so the livekit
// logger gets the patched log funxction, so it picks up livekit's
// logs.
setLKLogLevel("debug");
console.info(`Element Call ${import.meta.env.VITE_APP_VERSION || "dev"}`);