add service to the log

This commit is contained in:
Sandeep Somavarapu
2020-08-05 19:43:35 +02:00
parent c9cfe74fd0
commit 6b93bf3d21
@@ -89,6 +89,7 @@ export class UserDataSyncStoreManagementService extends AbstractUserDataSyncStor
@IProductService productService: IProductService,
@IConfigurationService configurationService: IConfigurationService,
@IStorageService storageService: IStorageService,
@IUserDataSyncLogService logService: IUserDataSyncLogService,
) {
super(productService, configurationService, storageService);
@@ -103,6 +104,10 @@ export class UserDataSyncStoreManagementService extends AbstractUserDataSyncStor
} else {
this.storageService.remove(SYNC_PREVIOUS_STORE, StorageScope.GLOBAL);
}
if (this.userDataSyncStore) {
logService.info('Using settings sync service', this.userDataSyncStore.url.toString());
}
}
async switch(type: UserDataSyncStoreType): Promise<void> {