mirror of
https://github.com/bitwarden/directory-connector
synced 2026-01-21 11:53:38 +00:00
BWCLI_DEBUG for logging
This commit is contained in:
@@ -73,7 +73,7 @@ export class Main {
|
||||
this.i18nService = new I18nService('en', './locales');
|
||||
this.platformUtilsService = new CliPlatformUtilsService('connector', packageJson);
|
||||
this.logService = new ConsoleLogService(this.platformUtilsService.isDev(),
|
||||
(level) => level > LogLevelType.Info);
|
||||
(level) => process.env.BWCLI_DEBUG !== 'true' && level <= LogLevelType.Info);
|
||||
this.cryptoFunctionService = new NodeCryptoFunctionService();
|
||||
this.storageService = new LowdbStorageService(null, p, true);
|
||||
this.secureStorageService = new KeytarSecureStorageService(applicationName);
|
||||
|
||||
Reference in New Issue
Block a user