DiffSync currently establishes its own logger method. This feature would allow the user of DiffSync to pass in a structlog logger with some bound context data, or even pass in a structlog-compatible logger to replace the existing logger.
Below, two examples are provided. This feature would not require both be implemented.
Environment
Proposed Functionality
DiffSync currently establishes its own logger method. This feature would allow the user of DiffSync to pass in a structlog logger with some bound context data, or even pass in a structlog-compatible logger to replace the existing logger.
Below, two examples are provided. This feature would not require both be implemented.
Example usage:
First example - pass logger into backend
Second example - pass logger into sync methods
Use Case