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
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Pino adds the following properties to logs by default:
69
69
70
70
## Configuration
71
71
72
-
-`NODE_ENV` - pretty printing is enabled when `NODE_ENV !== 'production'`.
72
+
-`NODE_ENV` - pretty printing is enabled when value of `NODE_ENV` is not same as `p`, `prod` or `production`.
73
73
-`CONSOLE_LOG_LEVEL` - determines the level to log at (pinto `level` option). Defaults to `info`.
74
74
-`SYSTEM_CODE` - adds the `systemCode` property to every log.
75
75
-`ENVIRONMENT|STAGE` - adds the `environment` property to every log. `STAGE` is used as a fallback due to it's default definition in the [serverless](https://serverless.com) framework.
0 commit comments