Skip to content

Commit 7e3422d

Browse files
committed
remove debug logger from example
1 parent ef43c50 commit 7e3422d

File tree

1 file changed

+1
-7
lines changed
  • packages/sdk/server-ai/examples/tracked-chat/src

1 file changed

+1
-7
lines changed

packages/sdk/server-ai/examples/tracked-chat/src/index.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
basicLogger,
44
init,
55
type LDContext,
6-
LDLogger,
76
LDOptions,
87
} from '@launchdarkly/node-server-sdk';
98
import { initAi } from '@launchdarkly/server-sdk-ai';
@@ -18,13 +17,8 @@ if (!sdkKey) {
1817
process.exit(1);
1918
}
2019

21-
const logger = basicLogger({ level: 'debug', destination: console.log });
22-
const options: LDOptions = {
23-
logger,
24-
};
25-
2620
// Initialize LaunchDarkly client
27-
const ldClient = init(sdkKey, options);
21+
const ldClient = init(sdkKey);
2822

2923
// Set up the context properties. This context should appear on your LaunchDarkly contexts dashboard
3024
// soon after you run the demo.

0 commit comments

Comments
 (0)