Skip to content

Commit 493b181

Browse files
authored
[FSSDK-11090] remove unnecessary console.log (#992)
1 parent 281930a commit 493b181

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/optimizely/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
import { LoggerFacade } from '../logging/logger';
1717
import { sprintf, objectValues } from '../utils/fns';
18-
import { createNotificationCenter, DefaultNotificationCenter, NotificationCenter } from '../notification_center';
18+
import { createNotificationCenter, DefaultNotificationCenter } from '../notification_center';
1919
import { EventProcessor } from '../event_processor/event_processor';
2020

2121
import { OdpManager } from '../odp/odp_manager';
@@ -42,7 +42,7 @@ import OptimizelyUserContext from '../optimizely_user_context';
4242
import { ProjectConfigManager } from '../project_config/project_config_manager';
4343
import { createDecisionService, DecisionService, DecisionObj } from '../core/decision_service';
4444
import { buildLogEvent } from '../event_processor/event_builder/log_event';
45-
import { buildImpressionEvent, buildConversionEvent, ImpressionEvent } from '../event_processor/event_builder/user_event';
45+
import { buildImpressionEvent, buildConversionEvent } from '../event_processor/event_builder/user_event';
4646
import fns from '../utils/fns';
4747
import { validate } from '../utils/attributes_validator';
4848
import * as eventTagsValidator from '../utils/event_tags_validator';
@@ -388,10 +388,8 @@ export default class Optimizely implements Client {
388388
return;
389389
}
390390

391-
console.log(eventKey, userId, attributes, eventTags);
392391

393392
if (!projectConfig.eventWithKeyExists(configObj, eventKey)) {
394-
console.log('eventKey not found',);
395393
this.logger?.warn(EVENT_KEY_NOT_FOUND, eventKey);
396394
this.logger?.warn(NOT_TRACKING_USER, userId);
397395
return;

0 commit comments

Comments
 (0)