diff --git a/app/core/log.ts b/app/core/log.ts index 5975ae8b1..6361b9e48 100644 --- a/app/core/log.ts +++ b/app/core/log.ts @@ -24,7 +24,7 @@ const noop = () => {}; * being hit. */ export const logger = { - createChild: (_options: { prefix: string }) => log, + createChild: (_options: { prefix: string }) => logger, debug: isProduction ? noop : console.debug, // Always allow errors to log error: console.error,