Skip to content

Commit 607ba1a

Browse files
committed
sh npm2yarn
1 parent 6439d03 commit 607ba1a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

packages/web/docs/src/content/migration-guides/gateway-v1-v2.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ logs. The logger implementation now consistently uses the new `@graphql-hive/log
1818
standardizes the logger prop naming and usage.
1919

2020
<Callout type="info">
21-
You can read more about the new logger and its features in the [Hive Logger documentation](/).
21+
You can read more about the new logger and its features in the [Hive Logger
22+
documentation](/docs/logger).
2223
</Callout>
2324

2425
### Deprecating the Old Logger
@@ -95,7 +96,7 @@ export const gateway = createGatewayRuntime({
9596

9697
A great new feature of the Hive Logger is the ability to change the log level dynamically at
9798
runtime. This allows you to adjust the verbosity of logs without restarting the application. Please
98-
advise the [Hive Logger documentation](/) for more details.
99+
advise the [Hive Logger documentation](/docs/logger) for more details.
99100

100101
#### Using a Custom Logger
101102

@@ -319,7 +320,7 @@ As you may see, it's very simple and allows you, to not only use your favourite
319320
winston, but also implement custom writers that send logs to a HTTP consumer or writes to a file.
320321

321322
<Callout type="info">
322-
Read more about implementing your own writers in the [Hive Logger documentation](/).
323+
Read more about implementing your own writers in the [Hive Logger documentation](/docs/logger).
323324
</Callout>
324325

325326
### Pino (only Node.js)
@@ -329,13 +330,13 @@ logs.
329330

330331
`pino` is an optional peer dependency, so you must install it first.
331332

332-
```npm2yarn
333+
```sh npm2yarn
333334
npm i pino pino-pretty
334335
```
335336

336337
Since we're using a custom log writter, you have to install the Hive Logger package too:
337338

338-
```npm2yarn
339+
```sh npm2yarn
339340
npm i @graphql-hive/logger
340341
```
341342

@@ -373,7 +374,7 @@ npm i winston
373374

374375
Since we're using a custom log writter, you have to install the Hive Logger package too:
375376

376-
```npm2yarn
377+
```sh npm2yarn
377378
npm i @graphql-hive/logger
378379
```
379380

0 commit comments

Comments
 (0)