From 3dbb1107d7d75bfa6d6de61ea663b3e733758797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannick=20R=C3=B6dl?= <53003597+PlayAnyData@users.noreply.github.com> Date: Mon, 21 Jul 2025 10:40:19 +0200 Subject: [PATCH] update to logger-winston If I see your published packages correctly, @graphql-hive/winston as only been published as an alpha version and was succeeded by @graphql-hive/logger-winston --- .../docs/src/content/gateway/logging-and-error-handling.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/web/docs/src/content/gateway/logging-and-error-handling.mdx b/packages/web/docs/src/content/gateway/logging-and-error-handling.mdx index 76723262c5..96ff37ebe3 100644 --- a/packages/web/docs/src/content/gateway/logging-and-error-handling.mdx +++ b/packages/web/docs/src/content/gateway/logging-and-error-handling.mdx @@ -74,16 +74,16 @@ only log info, warn and error messages. By default, Hive Gateway uses the built-in `console` logger. However, you can also integrate Hive Gateway with [Winston](https://github.com/winstonjs/winston) on Node.js environments. -You need to install `winston` and `@graphql-hive/winston` packages to use Winston with Hive Gateway. +You need to install `winston` and `@graphql-hive/logger-winston` packages to use Winston with Hive Gateway. ```sh npm2yarn -npm i winston @graphql-hive/winston +npm i winston @graphql-hive/logger-winston ``` ```ts import { createLogger, format, transports } from 'winston' import { defineConfig } from '@graphql-hive/gateway' -import { createLoggerFromWinston } from '@graphql-hive/winston' +import { createLoggerFromWinston } from '@graphql-hive/logger-winston' // Create a Winston logger const winstonLogger = createLogger({