UNPKG

@sussudio/platform

Version:

Internal APIs for VS Code's service injection the base services.

18 lines (16 loc) 850 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { AbstractMessageLogger, ILogger, LogLevel } from '../common/log.mjs'; export declare class SpdLogLogger extends AbstractMessageLogger implements ILogger { private buffer; private readonly _loggerCreationPromise; private _logger; constructor(name: string, filepath: string, rotating: boolean, donotUseFormatters: boolean, level: LogLevel); private _createSpdLogLogger; protected log(level: LogLevel, message: string): void; flush(): void; dispose(): void; private disposeLogger; }