upgrade service downloader (#20703)

* use new service downloader

* update other extensions

* fix errors
This commit is contained in:
Alan Ren
2022-10-02 20:30:53 -07:00
committed by GitHub
parent 85dc506a3c
commit 1df976d79d
19 changed files with 88 additions and 70 deletions

View File

@@ -85,12 +85,25 @@ export function getConfigLogRetentionSeconds(): number {
}
}
export function getConfigTracingLevel(): string {
/**
* The tracing level defined in the package.json
*/
export enum TracingLevel {
All = 'All',
Off = 'Off',
Critical = 'Critical',
Error = 'Error',
Warning = 'Warning',
Information = 'Information',
Verbose = 'Verbose'
}
export function getConfigTracingLevel(): TracingLevel {
let config = getConfiguration();
if (config) {
return config[configTracingLevel];
} else {
return undefined;
return TracingLevel.Critical;
}
}