Skip to content

Commit c18dfc9

Browse files
committed
fix: re-add debug logging
1 parent 7727ba9 commit c18dfc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/browser/src/experimentClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { version as PACKAGE_VERSION } from '../package.json';
88
import { ExperimentConfig, Defaults } from './config';
99
import { ConnectorUserProvider } from './integration/connector';
1010
import { LocalStorage } from './storage/localStorage';
11-
import { FetchHttpClient } from './transport/http';
1211
import { exposureEvent } from './types/analytics';
1312
import { Client } from './types/client';
1413
import { ExposureTrackingProvider } from './types/exposure';
@@ -495,6 +494,7 @@ export class ExperimentClient implements Client {
495494
// eslint-disable-next-line @typescript-eslint/no-explicit-any
496495
private debug(message?: any, ...optionalParams: any[]): void {
497496
if (this.config.debug) {
497+
console.debug(message, ...optionalParams);
498498
}
499499
}
500500
}

0 commit comments

Comments
 (0)