Custom Logger Implementation Not Replacing Default Logger

With this code:
const make = () => Effect.gen(function* () {
  const connection = yield* connectionTag;

  return Logger.make(({ logLevel, message, cause }) => {
    connection.logTrace(`[${logLevel.label}] ${String(message)}`, String(cause));
  });
});

export const loggerLive = Logger.replaceEffect(Logger.defaultLogger, make());

I should expect nothing to be logged to the console, correct? At runtime, I still see the formatted output from what I think is still the default logger. I'm missing something?
Was this page helpful?