mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-29 09:43:49 +01:00
add service to the log
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user