-
Couldn't load subscription status.
- Fork 4
Comparing changes
Open a pull request
base repository: optimizely/optimizely-flutter-sdk
base: master
head repository: optimizely/optimizely-flutter-sdk
compare: muzahid/custom-looger
- 19 commits
- 17 files changed
- 2 contributors
Commits on Sep 19, 2025
-
build: add Optimizely SDK logger classes
- 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
Configuration menu - View commit details
-
Copy full SHA for be95ef5 - Browse repository at this point
Copy the full SHA be95ef5View commit details -
fix: resolve logging inconsistencies
- 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
Configuration menu - View commit details
-
Copy full SHA for 9b4c6fe - Browse repository at this point
Copy the full SHA 9b4c6feView commit details -
refactor: update logger imports
- 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
Configuration menu - View commit details
-
Copy full SHA for 2f88840 - Browse repository at this point
Copy the full SHA 2f88840View commit details -
feat: add custom logger implementation
- Implement a custom logger class - Define logLevel property with default debug level - Define log method to print log messages with custom format
Configuration menu - View commit details
-
Copy full SHA for 6336b0c - Browse repository at this point
Copy the full SHA 6336b0cView commit details -
refactor: rename logger classes in Android and iOS
- Rename FlutterOptimizelyLogger to OptimizelyFlutterLogger in Android - Rename FlutterOptimizelyLogger to OptimizelyFlutterLogger in iOS
Configuration menu - View commit details
-
Copy full SHA for 40cfdaa - Browse repository at this point
Copy the full SHA 40cfdaaView commit details
Commits on Sep 23, 2025
-
feat: update logging behavior for Optimizely SDK
- Remove unused log level property in CustomLogger - Implement channel setter method in OptimizelyFlutterLogger - Add guard clauses for levels and logger channel availability in log method - Update channel invocation to happen on main thread - Set log level in SwiftOptimizelyFlutterSdkPlugin based on parameters - Simplify DefaultOptimizelyLogger log method - Update log message formatting in logger bridge for consistency
Configuration menu - View commit details
-
Copy full SHA for 8b401ca - Browse repository at this point
Copy the full SHA 8b401caView commit details
Commits on Sep 24, 2025
-
feat: add methods and tests for logger state management
- Add methods to expose converting log level, checking if a custom logger is set, retrieving the current logger, and resetting the logger state - Implement a method for simulating method calls - Add tests for maintaining logger state across multiple operations - Include a test for handling logger replacement - Create tests for edge cases including handling empty messages and special characters
Configuration menu - View commit details
-
Copy full SHA for bde2659 - Browse repository at this point
Copy the full SHA bde2659View commit details -
feat: add separate logger channel for outgoing log calls
- Define LOGGER_CHANNEL constant for OptimizelyFlutterLogger class - Set up separate FlutterMethodChannel for outgoing log calls - Update SwiftOptimizelyFlutterSdkPlugin to use the new logger channel
Configuration menu - View commit details
-
Copy full SHA for 6993bfc - Browse repository at this point
Copy the full SHA 6993bfcView commit details -
refactor: improve main thread dispatch for Flutter method channel calls
- Add DispatchQueue.main.async for each method call to ensure platform channel messages are sent on the correct thread
Configuration menu - View commit details
-
Copy full SHA for 9b26c39 - Browse repository at this point
Copy the full SHA 9b26c39View commit details -
chore: clean up logger implementation
- Remove unnecessary comments and TODOs - Replace direct print statements with AppLogger methods - Refactor AppLogger to enhance flexibility and ease of use
Configuration menu - View commit details
-
Copy full SHA for a0a9ca9 - Browse repository at this point
Copy the full SHA a0a9ca9View commit details -
style: update comment in sendLogToFlutter method
- Remove comparison to Swift's DispatchQueue.main.async
Configuration menu - View commit details
-
Copy full SHA for 8edc431 - Browse repository at this point
Copy the full SHA 8edc431View commit details
Commits on Sep 25, 2025
-
chore: remove unused import statement
- Remove import statement for 'log_level' that is no longer used - Update import paths for 'flutter_logger' and 'optimizely_flutter_sdk' test: update test cases in logger_test.dart - Update test cases to use 'const MethodCall' for creating method calls - Change null and empty arguments to be created and handled correctly - Fix missing level or message argument handling scenarios - Improve handling of invalid level data types in method calls docs: add comments to improve code clarity in logger_test.dart - Add comments explaining the purpose of each test group and case - Include comments for the different scenarios being tested in each case
Configuration menu - View commit details
-
Copy full SHA for 49ed2dc - Browse repository at this point
Copy the full SHA 49ed2dcView commit details -
chore: update log messages and method channel handling
- Update log message format in CustomLogger class - Refactor main thread dispatch logic for method channel calls in Utils.swift - Enhance error handling and main thread dispatch in OptimizelyFlutterLogger.swift - Modify method channel creation and task queue handling in SwiftOptimizelyFlutterSdkPlugin.swift
Configuration menu - View commit details
-
Copy full SHA for 7ae86de - Browse repository at this point
Copy the full SHA 7ae86deView commit details -
refactor: enhance logging functionalities
- Replace usage of static AppLogger class with separate logging functions - Introduce individual logger functions for error, warning, info, and debug levels - Create a default stand-alone logger instance to handle logging operations
Configuration menu - View commit details
-
Copy full SHA for e6404aa - Browse repository at this point
Copy the full SHA e6404aaView commit details -
test: add global logging functions test cases
- Test calling global logging functions without errors - Test handling empty messages in global functions - Test handling special characters in global functions - Test handling rapid calls to global functions
Configuration menu - View commit details
-
Copy full SHA for c2f1507 - Browse repository at this point
Copy the full SHA c2f1507View commit details
Commits on Oct 9, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 4b54235 - Browse repository at this point
Copy the full SHA 4b54235View commit details
Commits on Oct 27, 2025
-
chore: update Android configuration and logging setup
- Add Kotlin support to build.gradle - Update Java version compatibility - Include Kotlin options for JVM target - Implement FlutterLogbackAppender for logging - Remove unused OptimizelyFlutterLogger class - Refactor logger initialization in OptimizelyFlutterSdkPlugin - Update MethodChannel for log messages in LoggerBridge
Configuration menu - View commit details
-
Copy full SHA for 83a4cc3 - Browse repository at this point
Copy the full SHA 83a4cc3View commit details -
chore: update android build.gradle
- Remove unused 'org.jetbrains.kotlin.android' plugin - Remove 'kotlinOptions' block for JVM target compatibility update - Add exclusion for 'androidsupportmultidexversion.txt' in packagingOptions feat: add FlutterLogbackAppender for logging in Android - Add new FlutterLogbackAppender class for logging - Implement append method to handle log events - Include mainThreadHandler for posting log data asynchronously - Provide setChannel method for setting MethodChannel in FlutterLogbackAppender refactor: simplify channel set in OptimizelyFlutterSdkPlugin.java - Update channel set method to use static reference directly
Configuration menu - View commit details
-
Copy full SHA for ed10620 - Browse repository at this point
Copy the full SHA ed10620View commit details -
refactor: remove logging statements
- Remove logging statement for receiving method call - Remove logging statement for processing log
Configuration menu - View commit details
-
Copy full SHA for 55bfb25 - Browse repository at this point
Copy the full SHA 55bfb25View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...muzahid/custom-looger