Reputation: 36689
I am currently using the LaunchDarkly React SDK. I see the below on every page of my app:
How do I disable these console logs?
Upvotes: 1
Views: 613
Reputation: 1
Source: https://launchdarkly.github.io/js-client-sdk/functions/basicLogger.html Better set it to error
import { basicLogger } from 'launchdarkly-js-client-sdk';
const ldOptions = {
logger: ld.basicLogger({ level: 'warn' }),
};
Upvotes: 0
Reputation: 36689
Talked to LD support and you could set LDLogLevel
to none
, ie LDLogLevel: none
Upvotes: 0