sussudio
Version:
An unofficial VS Code Internal API
20 lines (19 loc) • 935 B
text/typescript
/*---------------------------------------------------------------------------------------------
* 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;
}