mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #338 Using CLogPattern for subscribing to log messages in core
This commit is contained in:
committed by
Roland Winklmeier
parent
853caacddf
commit
a07ecfb49b
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user