Krita makes extensive use of Qt's logging facilities, and right now it can be a bit awkward to obtain and filter log data. With the incoming Python scripting support, we will have a new category of power users; script/plugin developers. These users are developers that may not have access to a full C++ development environment, and so it's even more important that logs are easily accessible outside of debug sessions.
We should still try to keep the current logging output intact, so QT_LOGGING_RULES and others can continue to control the debug output being logged to console or DebugView.
To this end, we need:
- A hook into Qt's logging facilities
- A hook into Python's logging facilities
- Some way to filter logs
- A UI where relevant logs are presented
Use-cases:
- Bug reporting (tablet logs, broken scripts, etc.)
- Python script development