mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 00:56:21 +03:00
commit
639415ea44
@ -345,7 +345,9 @@ void MainWindow::logError()
|
|||||||
|
|
||||||
void MainWindow::appendLogInfo(const QString& text)
|
void MainWindow::appendLogInfo(const QString& text)
|
||||||
{
|
{
|
||||||
m_pLogWindow->appendInfo(text);
|
if (appConfig().logLevel() >= 3) {
|
||||||
|
m_pLogWindow->appendInfo(text);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::appendLogDebug(const QString& text) {
|
void MainWindow::appendLogDebug(const QString& text) {
|
||||||
@ -536,10 +538,7 @@ void MainWindow::startBarrier()
|
|||||||
|
|
||||||
qDebug() << args;
|
qDebug() << args;
|
||||||
|
|
||||||
// show command if debug log level...
|
appendLogDebug(QString("command: %1 %2").arg(app, args.join(" ")));
|
||||||
if (appConfig().logLevel() >= 4) {
|
|
||||||
appendLogInfo(QString("command: %1 %2").arg(app, args.join(" ")));
|
|
||||||
}
|
|
||||||
|
|
||||||
appendLogInfo("config file: " + configFilename());
|
appendLogInfo("config file: " + configFilename());
|
||||||
appendLogInfo("log level: " + appConfig().logLevelText());
|
appendLogInfo("log level: " + appConfig().logLevelText());
|
||||||
|
Loading…
Reference in New Issue
Block a user