apollo-language-server
Version:
A language server for Apollo GraphQL projects
20 lines • 671 B
TypeScript
import { Connection } from "vscode-languageserver";
declare type Logger = (message?: any) => void;
export declare class Debug {
private static connection?;
private static infoLogger;
private static warningLogger;
private static errorLogger;
static SetConnection(conn: Connection): void;
static SetLoggers({ info, warning, error, }: {
info?: Logger;
warning?: Logger;
error?: Logger;
}): void;
static info(message: string): void;
static error(message: string): void;
static warning(message: string): void;
static sendErrorTelemetry(message: string): void;
}
export {};
//# sourceMappingURL=debug.d.ts.map