@graphql-hive/logger-json
Version:
11 lines (6 loc) • 492 B
Markdown
# @graphql-hive/logger-json
## 0.0.1-alpha-067ab02c157b3c030fc14630e30301be6a1fd573
### Patch Changes
- [#642](https://github.com/graphql-hive/gateway/pull/642) [`3ed97fa`](https://github.com/graphql-hive/gateway/commit/3ed97fab63db6673728f59b00dc6bba83ee12768) Thanks [@ardatan](https://github.com/ardatan)! - New JSON-based logger
By default, it prints pretty still to the console unless NODE_ENV is production.
For JSON output, set the `LOG_FORMAT` environment variable to `json`.