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
|
|
@ -23,6 +23,7 @@
|
|||
#include "configure.h"
|
||||
#include "rbsettings.h"
|
||||
#include "systeminfo.h"
|
||||
#include "Logger.h"
|
||||
|
||||
InstallTalkWindow::InstallTalkWindow(QWidget *parent) : QDialog(parent)
|
||||
{
|
||||
|
|
@ -118,8 +119,8 @@ void InstallTalkWindow::accept()
|
|||
connect(logger,SIGNAL(aborted()),talkcreator,SLOT(abort()));
|
||||
|
||||
for(int i = 0; i < foldersToTalk.size(); i++) {
|
||||
qDebug() << "[InstallTalkWindow] creating talk files for folder"
|
||||
<< foldersToTalk.at(i);
|
||||
LOG_INFO() << "creating talk files for folder"
|
||||
<< foldersToTalk.at(i);
|
||||
talkcreator->setDir(foldersToTalk.at(i));
|
||||
talkcreator->createTalkFiles();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue