提交 5fc7d91f 编写于 作者: B Benjamin Pasero

workaround #116691

上级 974b2143
......@@ -37,5 +37,4 @@ export class NativeLogService extends LogService {
this._register(disposables);
}
}
......@@ -40,7 +40,7 @@ class Logger extends AbstractMessageLogger {
loggerOptions?: ILoggerOptions,
) {
super(loggerOptions?.always);
(this.file ? this.channel.call('createLogger', [file, loggerOptions]) : this.channel.call('createConsoleMainLogger', [file, loggerOptions]))
(this.file ? this.channel.call('createLogger', [file, loggerOptions]) : this.channel.call('createConsoleLogger', [file, loggerOptions]))
.then(() => {
this._log(this.buffer);
this.isLoggerCreated = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册