forked from len0rd/rockbox
Use cutelogger for Rockbox Utility internal trace.
Change tracing from qDebug() to use cutelogger, which is available under the LGPL2.1. This allows to automatically add filename and line number to the log, and also provides multiple log levels. Change-Id: I5dbdaf902ba54ea99f07ae10a07467c52fdac910
This commit is contained in:
parent
335ec75d60
commit
4d2ce949b3
65 changed files with 2420 additions and 455 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include <QCheckBox>
|
||||
#include <QProgressDialog>
|
||||
#include "encttscfggui.h"
|
||||
#include "Logger.h"
|
||||
|
||||
EncTtsCfgGui::EncTtsCfgGui(QDialog* parent, EncTtsSettingInterface* iface, QString name)
|
||||
: QDialog(parent)
|
||||
|
|
@ -174,7 +175,7 @@ QWidget* EncTtsCfgGui::createWidgets(EncTtsSetting* setting)
|
|||
}
|
||||
default:
|
||||
{
|
||||
qDebug() << "Warning: unknown EncTTsSetting type" << setting->type();
|
||||
LOG_WARNING() << "Warning: unknown EncTTsSetting type" << setting->type();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -252,7 +253,7 @@ void EncTtsCfgGui::updateSetting()
|
|||
}
|
||||
default:
|
||||
{
|
||||
qDebug() << "unknown Settingtype !!";
|
||||
LOG_WARNING() << "unknown setting type!";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -331,7 +332,7 @@ void EncTtsCfgGui::updateWidget()
|
|||
}
|
||||
default:
|
||||
{
|
||||
qDebug() << "unknown EncTTsSetting";
|
||||
LOG_WARNING() << "unknown EncTTsSetting";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue