retry
retry copied to clipboard
Refactor: Enhance logger warning with variable storage for broader compatibility
This PR addresses the issues raised in #66 and #20 regarding logging compatibility and message formatting.
Changes
- Refactor logger warning to store the formatted message in a variable before logging
This change allows for easier integration with different logging libraries by separating the message formatting from the logging call. It also maintains backwards compatibility with existing setups.