Open KangLin opened 2 years ago
Before the modification, the qDebug output log all categories are output to Qt. You cannot output to the corresponding category as defined by Qt. This PR solved this issue. It can be output to the corresponding category. The category is currently prefixed with Qt. Is it configurable with the prefix Qt?
Modify LogManager::qtLogger. Add Qt category paramter. QLoggingCategory can use adapters based on category.