Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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