We inject a custom implemented trace method in our logger, but IDEs (such as PyCharm) don't detect this injection and so give a warning stating that the attribute doesn't exist.
This can be fixed by adding a CustomLogger class, with the trace method implemented within and updating logger definitions.
We inject a custom implemented
tracemethod in our logger, but IDEs (such as PyCharm) don't detect this injection and so give a warning stating that the attribute doesn't exist.This can be fixed by adding a
CustomLoggerclass, with thetracemethod implemented within and updatingloggerdefinitions.