[libcalamares] Make it possible to get the logfile name

main
Adriaan de Groot 7 years ago
parent 5bcd6eaef8
commit 6c87747a5d

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

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

Loading…
Cancel
Save