Skip to content

Conversation

muzahidul-opti
Copy link
Contributor

Summary

  • The "what"; a concise description of each logical change
  • Another change

The "why", or other context.

Test plan

Issues

  • FSSDK-11853

- Add FlutterOptimizelyLogger class implementing OPTLogger protocol
- Add constants for customLogger and loggerChannel
- Implement FlutterMethodChannel for invoking log method
- Add logger field to OptimizelyFlutterSdk constructor
- Initialize custom logger in OptimizelyClientWrapper
- Create LoggerBridge to handle log method calls
- Implement OptimizelyLogger interface and DefaultOptimizelyLogger class
- Update custom logger initialization in OptimizelyFlutterSdkPlugin
- Adjust logger channel setup in onDetachedFromEngine
- Refactor LoggerBridge to handle log calls from native Swift/Java code properly
- Ensure proper logging when no custom logger is set
- Rename 'OptimizelyLogger.dart' to 'flutter_logger.dart'
- Rename 'LoggerBridge.dart' to 'logger_bridge.dart'
- Modify imports in 'optimizely_client_wrapper.dart' to reflect changes in logger files
- Implement a custom logger class
- Define logLevel property with default debug level
- Define log method to print log messages with custom format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant