diff --git a/src/lib/gui/Logger.cpp b/src/lib/gui/Logger.cpp index 3569b404e..391e10fb2 100644 --- a/src/lib/gui/Logger.cpp +++ b/src/lib/gui/Logger.cpp @@ -59,14 +59,6 @@ QString printLine(FILE *out, const QString &type, const QString &message, const void Logger::loadEnvVars() { m_debug = QVariant(qEnvironmentVariable("DESKFLOW_GUI_DEBUG")).toBool(); - m_verbose = QVariant(qEnvironmentVariable("DESKFLOW_GUI_VERBOSE")).toBool(); -} - -void Logger::logVerbose(const QString &message) const -{ - if (m_verbose) { - printLine(stdout, "VERBOSE", message); - } } void Logger::handleMessage(const QtMsgType type, const QString &fileLine, const QString &message) diff --git a/src/lib/gui/Logger.h b/src/lib/gui/Logger.h index ee469ed2c..94ec130f0 100644 --- a/src/lib/gui/Logger.h +++ b/src/lib/gui/Logger.h @@ -28,7 +28,6 @@ public: void loadEnvVars(); void handleMessage(const QtMsgType type, const QString &fileLine, const QString &message); - void logVerbose(const QString &message) const; Q_SIGNALS: void newLine(const QString &line); @@ -36,12 +35,6 @@ Q_SIGNALS: private: static Logger s_instance; bool m_debug = kDebug; - bool m_verbose = false; }; -inline void logVerbose(const QString &message) -{ - Logger::instance().logVerbose(message); -} - } // namespace deskflow::gui