voicebot-react-native-expo
Version:
This is a voicebot-react-native package of Kipps AI voice bot for React Native Expo
14 lines (13 loc) • 612 B
TypeScript
import { setLogLevel as setClientSdkLogLevel } from 'livekit-client';
import loglevel from 'loglevel';
export declare const log: loglevel.Logger;
export type LogLevel = Parameters<typeof setClientSdkLogLevel>[0];
export type SetLogLevelOptions = {
liveKitClientLogLevel?: LogLevel;
};
/**
* Set the log level for both the `@livekit/react-native` package and the `@livekit-client` package.
* To set the `@livekit-client` log independently, use the `liveKitClientLogLevel` prop on the `options` object.
* @public
*/
export declare function setLogLevel(level: LogLevel, options?: SetLogLevelOptions): void;