Custom Logger Implementation in Effect: Issues with Overriding Default Options

So my goal is to replace the default logger in Effect with my own implementation that requires some options. The default options should be set when replacing the logger, or I can replace them when calling a log function by piping the altered options again. Here's a playground of it half way working. https://effect.website/play#381e4f7ba3f5

The problem with it is that setting the default options works great, but whenever I try to override the default options by providing different options, they are ignored. I'm open to suggestions and edits to what I got so far. I might be going in the wrong direction right now so any guidance helps.
Was this page helpful?