Skip to content

Commit 748b920

Browse files
committed
no color
1 parent 6d0f201 commit 748b920

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/web/docs/src/content/logger.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,12 @@ INF Hello World!
457457
```
458458
{/* prettier-ignore-end */}
459459
460+
#### Disabling Colors
461+
462+
You can disable colors in the console output by setting the `NO_COLOR=1` environment variable. All
463+
environments that need the logger to not color the output will automatically set this following the
464+
[NO_COLOR convention](https://no-color.org/).
465+
460466
### `JSONLogWriter`
461467
462468
<Callout type="info">Will be used then the `LOG_JSON=1` environment variable is provided.</Callout>

0 commit comments

Comments
 (0)