mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 09:08:34 +00:00
fix(docs/gateway): correct logging reference (#5604)
This commit is contained in:
parent
6f410010ef
commit
e6e0244420
1 changed files with 4 additions and 4 deletions
|
|
@ -386,7 +386,7 @@ export const gatewayConfig = defineConfig({
|
|||
})
|
||||
```
|
||||
|
||||
#### `logger`
|
||||
#### `logging`
|
||||
|
||||
By default, Hive Gateway uses a simple logger that logs to the console by using standard `console`
|
||||
methods.
|
||||
|
|
@ -402,11 +402,11 @@ import { defineConfig } from '@graphql-hive/gateway'
|
|||
import { createLogger } from 'some-logger-library'
|
||||
|
||||
export const gatewayConfig = defineConfig({
|
||||
logger: createLogger()
|
||||
logging: createLogger()
|
||||
// or
|
||||
logger: 'info' // or 'debug' or 'warn' or 'error'
|
||||
logging: 'info' // or 'debug' or 'warn' or 'error'
|
||||
// or
|
||||
logger: false
|
||||
logging: false
|
||||
})
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue