mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #359, fixed loghandler, removed / fine tuning of some output / log messages
see also discussion in #359
This commit is contained in:
@@ -46,14 +46,13 @@ int main(int argc, char *argv[])
|
||||
// application
|
||||
QApplication a(argc, argv);
|
||||
CLogHandler::instance()->install();
|
||||
CLogHandler::instance()->enableConsoleOutput(false);
|
||||
|
||||
// CLogHandler::instance()->handlerForPattern(
|
||||
// CLogPattern::anyOf({ CLogCategory::contextSlot(), CLogCategory::context() })
|
||||
// )->enableConsoleOutput(false);
|
||||
// CLogHandler::instance()->handlerForPattern(
|
||||
// CLogPattern::anyOf({ CLogCategory::contextSlot(), CLogCategory::context() }).withSeverityAtOrAbove(CStatusMessage::SeverityInfo)
|
||||
// )->enableConsoleOutput(true);
|
||||
CLogHandler::instance()->enableConsoleOutput(true);
|
||||
CLogHandler::instance()->handlerForPattern(
|
||||
CLogPattern::anyOf({ CLogCategory::contextSlot(), CLogCategory::context() })
|
||||
)->enableConsoleOutput(false);
|
||||
CLogHandler::instance()->handlerForPattern(
|
||||
CLogPattern::anyOf({ CLogCategory::contextSlot(), CLogCategory::context() }).withSeverityAtOrAbove(CStatusMessage::SeverityInfo)
|
||||
)->enableConsoleOutput(true);
|
||||
|
||||
// Translations
|
||||
QFile file(":blackmisc/translations/blackmisc_i18n_de.qm");
|
||||
|
||||
Reference in New Issue
Block a user