mirror of
https://github.com/bitwarden/directory-connector
synced 2026-01-10 12:33:35 +00:00
Merge pull request #72 from bitwarden/add-logging-to-lowdb-storage-svc
Add logger to lowdb storage service
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: d84d6da7f7...929ee82770
@@ -80,7 +80,7 @@ export class Main {
|
||||
this.logService = new ConsoleLogService(this.platformUtilsService.isDev(),
|
||||
(level) => process.env.BITWARDENCLI_CONNECTOR_DEBUG !== 'true' && level <= LogLevelType.Info);
|
||||
this.cryptoFunctionService = new NodeCryptoFunctionService();
|
||||
this.storageService = new LowdbStorageService(null, this.dataFilePath, true);
|
||||
this.storageService = new LowdbStorageService(this.logService, null, this.dataFilePath, true);
|
||||
this.secureStorageService = plaintextSecrets ?
|
||||
this.storageService : new KeytarSecureStorageService(applicationName);
|
||||
this.cryptoService = new CryptoService(this.storageService, this.secureStorageService,
|
||||
|
||||
Reference in New Issue
Block a user