diff options
author | dan <dan.abramov@gmail.com> | 2024-12-13 17:16:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-13 17:16:53 +0000 |
commit | 356dad1932c3404f581b747127ae251dbe165bb3 (patch) | |
tree | d966d4c5fd4645f9897a984a018d7258399e1674 /src/logger/README.md | |
parent | e2a7965e438db9f70d76d2d7a911aa4c4a42c122 (diff) | |
download | voidsky-356dad1932c3404f581b747127ae251dbe165bb3.tar.zst |
Remove the environment indirections (#7089)
* Use raw underlying globals for environment * Set dev EXPO_PUBLIC_ENV by exclusion
Diffstat (limited to 'src/logger/README.md')
-rw-r--r-- | src/logger/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger/README.md b/src/logger/README.md index 17dd61cb3..8da7deb14 100644 --- a/src/logger/README.md +++ b/src/logger/README.md @@ -17,8 +17,8 @@ logger.error(error[, metadata]) #### Modes -The "modes" referred to here are inferred from the values exported from `#/env`. -Basically, the booleans `IS_DEV` and `IS_PROD`. +The "modes" referred to here are inferred from `process.env.NODE_ENV`, +which matches how React Native sets the `__DEV__` global. #### Log Levels |