Using a Custom Logger with OpenTelemetry Span Annotations in Effect Typescript

If I'd want to use a custom logger, but still add annotations to otel span, how would I best approach this? I tried the following, but probably need a small push into the correct direction

ayer.provide(
            Logger.replace(
                Logger.defaultLogger,
                Logger.zip(customLogger, Logger.withSpanAnnotations),
            ),
        ),
Was this page helpful?