Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.

Update logger

Changed files
+1 -1
src
+1 -1
src/index.ts
···
function create(info: ts.server.PluginCreateInfo) {
const logger: Logger = (msg: string) =>
-
info.project.projectService.logger.info(`[ts-graphql-plugin] ${msg}`);
+
info.project.projectService.logger.info(`[GraphQLSP] ${msg}`);
logger('config: ' + JSON.stringify(info.config));
if (!info.config.schema) {
throw new Error('Please provide a GraphQL Schema!');