You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This disables log prettification if the environment is either `prod` or
`p`, which we use across some systems. This is done in the logger rather
than app-info because that would be a breaking change. If app-info
normalises the environment in a later version then we can switch logger
back to expecting `production` only.
Co-Authored-By: Matt Hinchliffe <i-like-robots@users.noreply.github.com>
See-also: #1368
Copy file name to clipboardExpand all lines: packages/logger/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -249,7 +249,7 @@ You can also use [built-in transforms](#built-in-transforms) to do things like m
249
249
250
250
#### `options.withPrettifier`
251
251
252
-
Whether to send prettified logs ifavailable. This option has no effect if you have the `NODE_ENV` environment variable set to either `production` or if you have not installed [pino-pretty](https://github.com/pinojs/pino-pretty#readme). See [local development usage](#local-development-usage) for more information.
252
+
Whether to send prettified logs ifavailable. This option has no effect if you have the `NODE_ENV` environment variable set to `production` (`prod` or `p` also work) or if you have not installed [pino-pretty](https://github.com/pinojs/pino-pretty#readme). See [local development usage](#local-development-usage) for more information.
0 commit comments