Skip to content

Commit 7b49bf4

Browse files
Added the logger to the data store in the datafile manager for additional logging info.
1 parent befce89 commit 7b49bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OptimizelySDKDatafileManager/OptimizelySDKDatafileManager/OPTLYDatafileManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ - (instancetype)initWithBuilder:(OPTLYDatafileManagerBuilder *)builder {
4444
_errorHandler = builder.errorHandler;
4545
_logger = builder.logger;
4646
_networkService = [OPTLYNetworkService new];
47-
_dataStore = [OPTLYDataStore new];
47+
_dataStore = [[OPTLYDataStore alloc] initWithLogger:_logger];
4848

4949
// download datafile when we start the datafile manager
5050
[self downloadDatafile:self.projectId completionHandler:nil];

0 commit comments

Comments
 (0)