refs #467 Log files should include debug messages.

This commit is contained in:
Mathew Sutcliffe
2015-09-20 19:15:24 +01:00
parent 246753d05e
commit a7f8b54c43

View File

@@ -92,7 +92,7 @@ namespace BlackGui
// File logger
static const QString logPath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/org.swift-project/logs";
CFileLogger *fileLogger = new CFileLogger(applicationName, logPath, &a);
fileLogger->changeLogPattern(CLogPattern().withSeverityAtOrAbove(CStatusMessage::SeverityInfo));
fileLogger->changeLogPattern(CLogPattern().withSeverityAtOrAbove(CStatusMessage::SeverityDebug));
// GUI icon
a.installTranslator(&translator);