diff --git a/src/vs/workbench/api/node/extHostOutputService.ts b/src/vs/workbench/api/node/extHostOutputService.ts index d2a9206224e76d7b8d2f1613235b42b6b0f3d07e..a1c996e7d0bfd7ec6c3b3be7c2ed7cc263d2aa97 100644 --- a/src/vs/workbench/api/node/extHostOutputService.ts +++ b/src/vs/workbench/api/node/extHostOutputService.ts @@ -77,13 +77,13 @@ export class ExtHostPushOutputChannel extends AbstractExtHostOutputChannel { } } -export class ExtHostPullOutputChannel extends AbstractExtHostOutputChannel { +export class ExtHostFileOutputChannel extends AbstractExtHostOutputChannel { private static _namePool = 1; private _appender: OutputAppender; constructor(name: string, outputDir: string, proxy: MainThreadOutputServiceShape) { - const fileName = `${ExtHostPullOutputChannel._namePool++}-${name}`; + const fileName = `${ExtHostFileOutputChannel._namePool++}-${name}`; const file = URI.file(posix.join(outputDir, `${fileName}.log`)); super(name, file, proxy); @@ -111,7 +111,7 @@ export class ExtHostOutputService { if (!name) { throw new Error('illegal argument `name`. must not be falsy'); } else { - return push ? new ExtHostPushOutputChannel(name, this._proxy) : new ExtHostPullOutputChannel(name, this._outputDir, this._proxy); + return push ? new ExtHostPushOutputChannel(name, this._proxy) : new ExtHostFileOutputChannel(name, this._outputDir, this._proxy); } } }