mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
storage - remove logStorage option (for #62152)
This commit is contained in:
parent
1d760ea4b4
commit
169993fb30
|
@ -35,7 +35,6 @@ export interface ParsedArgs {
|
|||
'trace-options'?: string;
|
||||
log?: string;
|
||||
logExtensionHostCommunication?: boolean;
|
||||
logStorage?: boolean;
|
||||
'extensions-dir'?: string;
|
||||
'builtin-extensions-dir'?: string;
|
||||
extensionDevelopmentPath?: string;
|
||||
|
@ -121,7 +120,6 @@ export interface IEnvironmentService {
|
|||
debugSearch: IDebugParams;
|
||||
|
||||
logExtensionHostCommunication: boolean;
|
||||
logStorage: boolean;
|
||||
|
||||
isBuilt: boolean;
|
||||
wait: boolean;
|
||||
|
|
|
@ -54,7 +54,6 @@ const options: minimist.Opts = {
|
|||
'prof-startup',
|
||||
'verbose',
|
||||
'logExtensionHostCommunication',
|
||||
'logStorage',
|
||||
'disable-extensions',
|
||||
'list-extensions',
|
||||
'show-versions',
|
||||
|
|
|
@ -211,7 +211,6 @@ export class EnvironmentService implements IEnvironmentService {
|
|||
get wait(): boolean { return this._args.wait; }
|
||||
|
||||
get logExtensionHostCommunication(): boolean { return this._args.logExtensionHostCommunication; }
|
||||
get logStorage(): boolean { return this._args.logStorage; }
|
||||
|
||||
get performance(): boolean { return this._args.performance; }
|
||||
get status(): boolean { return this._args.status; }
|
||||
|
|
|
@ -69,7 +69,7 @@ export class StorageService extends Disposable implements IStorageService {
|
|||
super();
|
||||
|
||||
this.loggingOptions = {
|
||||
info: environmentService.verbose || environmentService.logStorage,
|
||||
info: environmentService.verbose,
|
||||
infoLogger: msg => logService.info(msg),
|
||||
errorLogger: error => {
|
||||
logService.error(error);
|
||||
|
|
|
@ -354,7 +354,7 @@ export class WorkbenchShell extends Disposable {
|
|||
return; // do not log performance numbers when errors occured
|
||||
}
|
||||
|
||||
if (this.environmentService.verbose || this.environmentService.logStorage) {
|
||||
if (this.environmentService.verbose) {
|
||||
return; // do not log when running in verbose mode
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue