src/vs/workbench/api/common/extHostOutput.ts/ExtHostOutputService/doCreateLogOutputChannel
class ExtHostOutputService:	private async doCreateLogOutputChannel(name: string, logLevel: LogLevel | undefined, extension: IExtensionDescription): Promise<ExtHostLogOutputChannel> {
		const extensionLogDir = await this.createExtensionLogDirectory(extension);
		const file = this.extHostFileSystemInfo.extUri.joinPath(extensionLogDir, `${name.replace(/[\\/:\*\?"<>\|]/g, '')}.log`);
		const logger = this.loggerService.createLogger(file, { name }, logLevel);
		const id = await this.proxy.$register(name, file, true, undefined, extension.identifier.value);
		return new ExtHostLogOutputChannel(id, name, logger, this.proxy, extension);
	}