Skip to content

Commit

Permalink
Revert "[FSSDK-9588] export logging types and values (#858)"
Browse files Browse the repository at this point in the history
This reverts commit b1ef5b0.
  • Loading branch information
raju-opti committed Oct 2, 2023
1 parent e5bdec9 commit bd078be
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 35 deletions.
19 changes: 0 additions & 19 deletions lib/common_exports.ts

This file was deleted.

4 changes: 0 additions & 4 deletions lib/index.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { BrowserOdpManager } from './plugins/odp_manager/index.browser';
import Optimizely from './optimizely';
import { IUserAgentParser } from './core/odp/user_agent_parser';
import { getUserAgentParser } from './plugins/odp/user_agent_parser/index.browser';
import * as commonExports from './common_exports';

const logger = getLogger();
logHelper.setLogHandler(loggerPlugin.createLogger());
Expand Down Expand Up @@ -182,10 +181,7 @@ export {
getUserAgentParser,
};

export * from './common_exports';

export default {
...commonExports,
logging: loggerPlugin,
errorHandler: defaultErrorHandler,
eventDispatcher: defaultEventDispatcher,
Expand Down
4 changes: 0 additions & 4 deletions lib/index.lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { createNotificationCenter } from './core/notification_center';
import { createForwardingEventProcessor } from './plugins/event_processor/forwarding_event_processor';
import { OptimizelyDecideOption, Client, ConfigLite } from './shared_types';
import { createNoOpDatafileManager } from './plugins/datafile_manager/no_op_datafile_manager';
import * as commonExports from './common_exports';

const logger = getLogger();
setLogHandler(loggerPlugin.createLogger());
Expand Down Expand Up @@ -103,10 +102,7 @@ export {
OptimizelyDecideOption,
};

export * from './common_exports';

export default {
...commonExports,
logging: loggerPlugin,
errorHandler: defaultErrorHandler,
eventDispatcher: noOpEventDispatcher,
Expand Down
4 changes: 0 additions & 4 deletions lib/index.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import { createEventProcessor } from './plugins/event_processor';
import { OptimizelyDecideOption, Client, Config } from './shared_types';
import { createHttpPollingDatafileManager } from './plugins/datafile_manager/http_polling_datafile_manager';
import { NodeOdpManager } from './plugins/odp_manager/index.node';
import * as commonExports from './common_exports';

const logger = getLogger();
setLogLevel(LogLevel.ERROR);
Expand Down Expand Up @@ -137,10 +136,7 @@ export {
OptimizelyDecideOption,
};

export * from './common_exports';

export default {
...commonExports,
logging: loggerPlugin,
errorHandler: defaultErrorHandler,
eventDispatcher: defaultEventDispatcher,
Expand Down
4 changes: 0 additions & 4 deletions lib/index.react_native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import { OptimizelyDecideOption, Client, Config } from './shared_types';
import { createHttpPollingDatafileManager } from
'./plugins/datafile_manager/react_native_http_polling_datafile_manager';
import { BrowserOdpManager } from './plugins/odp_manager/index.browser';
import * as commonExports from './common_exports';

const logger = getLogger();
setLogHandler(loggerPlugin.createLogger());
Expand Down Expand Up @@ -143,10 +142,7 @@ export {
OptimizelyDecideOption,
};

export * from './common_exports';

export default {
...commonExports,
logging: loggerPlugin,
errorHandler: defaultErrorHandler,
eventDispatcher: defaultEventDispatcher,
Expand Down

0 comments on commit bd078be

Please sign in to comment.