mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
feat: expo env variables & export logs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user