UNPKG

@sussudio/platform

Version:

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

21 lines (19 loc) 921 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { AdapterLogger, ILogger, LogLevel } from '../common/log.mjs'; export interface IAutomatedWindow { codeAutomationLog(type: string, args: any[]): void; codeAutomationExit(code: number): void; } /** * A logger that is used when VSCode is running in the web with * an automation such as playwright. We expect a global codeAutomationLog * to be defined that we can use to log to. */ export declare class ConsoleLogInAutomationLogger extends AdapterLogger implements ILogger { codeAutomationLog: any; constructor(logLevel?: LogLevel); private consoleLog; }