diff options
Diffstat (limited to 'src/vs/workbench/api/node/extHostOutputService.ts')
-rw-r--r-- | src/vs/workbench/api/node/extHostOutputService.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/vs/workbench/api/node/extHostOutputService.ts b/src/vs/workbench/api/node/extHostOutputService.ts index 518c90b4b73..fae6d6dbe4e 100644 --- a/src/vs/workbench/api/node/extHostOutputService.ts +++ b/src/vs/workbench/api/node/extHostOutputService.ts @@ -16,14 +16,13 @@ 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 { RotatingLogger } from 'spdlog'; +import { Logger } from 'spdlog'; import { ByteSize } from 'vs/platform/files/common/files'; class OutputAppender { + private appender: Logger; - private appender: RotatingLogger; - - constructor(name: string, readonly file: string) { + constructor(readonly name: string, readonly file: string) { this.appender = createRotatingLogger(name, file, 30 * ByteSize.MB, 1); this.appender.clearFormatters(); } |