mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Merge pull request #1272 from vector-im/dbkr/debug_logs
Enable debug logging
This commit is contained in:
commit
a311c6ea3d
@ -1,4 +1,4 @@
|
||||
import { Room, RoomOptions } from "livekit-client";
|
||||
import { Room, RoomOptions, setLogLevel } from "livekit-client";
|
||||
import { useLiveKitRoom } from "@livekit/components-react";
|
||||
import { useMemo } from "react";
|
||||
|
||||
@ -15,6 +15,8 @@ export type DeviceChoices = {
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
setLogLevel("debug");
|
||||
|
||||
export function useLiveKit(
|
||||
userChoices: UserChoices,
|
||||
sfuConfig?: SFUConfig
|
||||
|
Loading…
Reference in New Issue
Block a user