Skip to content

[ENHANCEMENT] Add WithLogger option to support per-client logging configuration #398

Open
@cyril-flieller

Description

@cyril-flieller

Description

Currently, the SDK only supports a global logger configuration through SetLogger(), making it difficult to properly manage logs across multiple Optimizely clients in the same application.

I propose adding a WithLogger option function to the OptimizelyFactory similar to other option functions like WithEventDispatcher or WithUserProfileService.

Benefits

  • Each client can have its own dedicated logger

Detail

No response

Examples

No response

Risks/Downsides

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions