diff options
Diffstat (limited to 'src/env.ts')
-rw-r--r-- | src/env.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/env.ts b/src/env.ts new file mode 100644 index 000000000..7b255e7ea --- /dev/null +++ b/src/env.ts @@ -0,0 +1,9 @@ +export const IS_TEST = process.env.NODE_ENV === 'test' +export const IS_DEV = __DEV__ +export const IS_PROD = !IS_DEV +export const LOG_DEBUG = process.env.EXPO_PUBLIC_LOG_DEBUG || '' +export const LOG_LEVEL = (process.env.EXPO_PUBLIC_LOG_LEVEL || 'info') as + | 'debug' + | 'info' + | 'warn' + | 'error' |