feat: expo env variables & export logs

This commit is contained in:
herrrta
2025-03-29 10:44:28 -04:00
parent 71c15f3651
commit 6555251c2e
8 changed files with 56 additions and 13 deletions

View File

@@ -63,7 +63,7 @@ export const writeInfoLog = (message: string, data?: any) =>
export const writeErrorLog = (message: string, data?: any) =>
writeToLog("ERROR", message, data);
export const writeDebugLog = (message: string, data?: any) => {
if (process.env.DEBUG === "1") {
if (process.env.EXPO_PUBLIC_WRITE_DEBUG === "1") {
writeToLog("DEBUG", message, data);
}
}