Skip to content

Commit

Permalink
Remove Turbo Module flag log
Browse files Browse the repository at this point in the history
  • Loading branch information
fdrault committed Mar 7, 2024
1 parent a6dd443 commit 4f8c078
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type RNFileLoggerType from "./NativeFileLogger";
declare var global: any;

const isTurboModuleEnabled = global.__turboModuleProxy != null;
console.log(`TurboModule enabled: ${isTurboModuleEnabled}`);
const RNFileLogger: typeof RNFileLoggerType = isTurboModuleEnabled
? require("./NativeFileLogger").default
: NativeModules.FileLogger;
Expand Down

0 comments on commit 4f8c078

Please sign in to comment.