15
15
*/
16
16
import { LoggerFacade } from '../logging/logger' ;
17
17
import { sprintf , objectValues } from '../utils/fns' ;
18
- import { createNotificationCenter , DefaultNotificationCenter , NotificationCenter } from '../notification_center' ;
18
+ import { createNotificationCenter , DefaultNotificationCenter } from '../notification_center' ;
19
19
import { EventProcessor } from '../event_processor/event_processor' ;
20
20
21
21
import { OdpManager } from '../odp/odp_manager' ;
@@ -42,7 +42,7 @@ import OptimizelyUserContext from '../optimizely_user_context';
42
42
import { ProjectConfigManager } from '../project_config/project_config_manager' ;
43
43
import { createDecisionService , DecisionService , DecisionObj } from '../core/decision_service' ;
44
44
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' ;
46
46
import fns from '../utils/fns' ;
47
47
import { validate } from '../utils/attributes_validator' ;
48
48
import * as eventTagsValidator from '../utils/event_tags_validator' ;
@@ -388,10 +388,8 @@ export default class Optimizely implements Client {
388
388
return ;
389
389
}
390
390
391
- console . log ( eventKey , userId , attributes , eventTags ) ;
392
391
393
392
if ( ! projectConfig . eventWithKeyExists ( configObj , eventKey ) ) {
394
- console . log ( 'eventKey not found' , ) ;
395
393
this . logger ?. warn ( EVENT_KEY_NOT_FOUND , eventKey ) ;
396
394
this . logger ?. warn ( NOT_TRACKING_USER , userId ) ;
397
395
return ;
0 commit comments