Core: Refactor logging viewer

* All log categories that were ever used are captured.
* Fixed various small issues.
* Allow disabling individual logging types.
* Add Splitter between messages and categories.
* No longer needs to interpret or change QT_LOGGING_RULES.

Change-Id: I33be4754d550064bc66274f655a59e7af67ae487
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-10-13 12:28:52 +02:00
parent 5d79b010bf
commit 755eefcbb2
7 changed files with 720 additions and 837 deletions

View File

@@ -9,18 +9,18 @@
#include "icore.h"
#include "idocument.h"
#include "iwizardfactory.h"
#include "loggingviewer.h"
#include "modemanager.h"
#include "session.h"
#include "settingsdatabase.h"
#include "themechooser.h"
#include "actionmanager/actionmanager.h"
#include "coreconstants.h"
#include "documentmanager.h"
#include "editormanager/editormanager.h"
#include "fileutils.h"
#include "find/findplugin.h"
#include "locator/locator.h"
#include "coreconstants.h"
#include "fileutils.h"
#include <extensionsystem/pluginerroroverview.h>
#include <extensionsystem/pluginmanager.h>
@@ -490,6 +490,7 @@ QString CorePlugin::msgCrashpadInformation()
ExtensionSystem::IPlugin::ShutdownFlag CorePlugin::aboutToShutdown()
{
LoggingViewer::hideLoggingView();
Find::aboutToShutdown();
m_locator->aboutToShutdown();
ICore::aboutToShutdown();