Skip to content

Conversation

@ever3001
Copy link

@ever3001 ever3001 commented Jul 5, 2024

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.

- Store formatted warning message in variable before logging
- Ensure compatibility with structlog, loguru, and other logging libraries
- Maintain support for both Python 2 and Python 3
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.

2 participants