1.0.17
- Added validation to ensure the `logger` option is a function before invoking it. - Enhanced the test suite with additional test cases covering scenarios with and without a custom logger. - Improved code comments and documentation for better clarity and maintainability.