Merge pull request #1272 from vector-im/dbkr/debug_logs
Enable debug logging
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { Room, RoomOptions } from "livekit-client";
|
import { Room, RoomOptions, setLogLevel } from "livekit-client";
|
||||||
import { useLiveKitRoom } from "@livekit/components-react";
|
import { useLiveKitRoom } from "@livekit/components-react";
|
||||||
import { useMemo } from "react";
|
import { useMemo } from "react";
|
||||||
|
|
||||||
@@ -15,6 +15,8 @@ export type DeviceChoices = {
|
|||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
setLogLevel("debug");
|
||||||
|
|
||||||
export function useLiveKit(
|
export function useLiveKit(
|
||||||
userChoices: UserChoices,
|
userChoices: UserChoices,
|
||||||
sfuConfig?: SFUConfig
|
sfuConfig?: SFUConfig
|
||||||
|
|||||||
Reference in New Issue
Block a user