refs #338 Using CLogPattern for subscribing to log messages in core

This commit is contained in:
Klaus Basan
2014-11-20 18:30:24 +01:00
committed by Roland Winklmeier
parent 853caacddf
commit a07ecfb49b
2 changed files with 46 additions and 80 deletions

View File

@@ -33,7 +33,7 @@ int main(int argc, char *argv[])
// metadata are registered in runtime
QApplication a(argc, argv); // not QCoreApplication because of icon, http://qt-project.org/forums/viewthread/15412
CLogHandler::instance()->install();
CLogHandler::instance()->enableConsoleOutput(false); //! \todo How can I change the level only and display info and above?
CLogHandler::instance()->enableConsoleOutput(false); // default disable
QIcon icon(BlackMisc::CIcons::swiftNova24());
QApplication::setWindowIcon(icon);
QTextStream cin(stdin);