Docker: Use categorized logging for DockerDeviceOperation

Change-Id: Ib9aa32c65bd38b4b72b356603182e84ce5672e91
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-06-28 11:53:29 +02:00
parent 3f5130ef2c
commit b26fb834a8

View File

@@ -64,6 +64,7 @@
#include <QDialogButtonBox>
#include <QFileSystemWatcher>
#include <QHeaderView>
#include <QLoggingCategory>
#include <QPushButton>
#include <QTextBrowser>
#include <QThread>
@@ -78,13 +79,11 @@ using namespace ProjectExplorer;
using namespace QtSupport;
using namespace Utils;
#define LOG(x)
//#define LOG(x) qDebug() << x
namespace Docker {
namespace Internal {
const QByteArray pidMarker = "__qtc";
static Q_LOGGING_CATEGORY(dockerDeviceLog, "qtc.docker.device", QtWarningMsg);
#define LOG(x) qCDebug(dockerDeviceLog) << x
class DockerDeviceProcess : public ProjectExplorer::DeviceProcess
{