[libcalamares] Make it possible to get the logfile name

This commit is contained in:
Adriaan de Groot 2018-05-20 10:42:26 -04:00
parent 5bcd6eaef8
commit 6c87747a5d
2 changed files with 6 additions and 1 deletions

View File

@ -116,7 +116,7 @@ CalamaresLogHandler( QtMsgType type, const QMessageLogContext& context, const QS
}
static QString
QString
logFile()
{
return CalamaresUtils::appLogDir().filePath( "session.log" );

View File

@ -64,6 +64,11 @@ namespace Logger
virtual ~CDebug();
};
/**
* @brief The full path of the log file.
*/
DLLEXPORT QString logFile();
/**
* @brief Start logging to the log file.
*