chore: remove logger:m_verbose and related method

This commit is contained in:
sithlord48
2025-11-03 19:18:51 -05:00
committed by Chris Rizzitello
parent b22fa1550a
commit 1d82be270a
2 changed files with 0 additions and 15 deletions

View File

@ -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)

View File

@ -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