1 | import { Connection } from "vscode-languageserver";
|
2 | declare type Logger = (message?: any) => void;
|
3 | export declare class Debug {
|
4 | private static connection?;
|
5 | private static infoLogger;
|
6 | private static warningLogger;
|
7 | private static errorLogger;
|
8 | static SetConnection(conn: Connection): 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 | }
|
19 | export {};
|
20 |
|
\ | No newline at end of file |