UNPKG

672 BTypeScriptView Raw
1import { IConnection } from "vscode-languageserver";
2declare type Logger = (message?: any) => void;
3export declare class Debug {
4 private static connection?;
5 private static infoLogger;
6 private static warningLogger;
7 private static errorLogger;
8 static SetConnection(conn: IConnection): void;
9 static SetLoggers({ info, warning, error }: {
10 info?: Logger;
11 warning?: Logger;
12 error?: Logger;
13 }): void;
14 static info(message: string): void;
15 static error(message: string): void;
16 static warning(message: string): void;
17 static sendErrorTelemetry(message: string): void;
18}
19export {};
20//# sourceMappingURL=debug.d.ts.map
\No newline at end of file