Revert "Update spdlog, affects #121513"

This reverts commit 2d2de1920b.
This commit is contained in:
Raymond Zhao
2021-05-05 14:11:47 -07:00
parent d09e71dc22
commit ad576d73db
5 changed files with 31 additions and 18 deletions

View File

@@ -16,13 +16,14 @@ import { IExtHostRpcService } from 'vs/workbench/api/common/extHostRpcService';
import { MutableDisposable } from 'vs/base/common/lifecycle';
import { ILogService } from 'vs/platform/log/common/log';
import { createRotatingLogger } from 'vs/platform/log/node/spdlogLog';
import { Logger } from 'spdlog';
import { RotatingLogger } from 'spdlog';
import { ByteSize } from 'vs/platform/files/common/files';
class OutputAppender {
private appender: Logger;
constructor(readonly name: string, readonly file: string) {
private appender: RotatingLogger;
constructor(name: string, readonly file: string) {
this.appender = createRotatingLogger(name, file, 30 * ByteSize.MB, 1);
this.appender.clearFormatters();
}