[libcalamares] Make it possible to get the logfile name
This commit is contained in:
parent
5bcd6eaef8
commit
6c87747a5d
@ -116,7 +116,7 @@ CalamaresLogHandler( QtMsgType type, const QMessageLogContext& context, const QS
|
||||
}
|
||||
|
||||
|
||||
static QString
|
||||
QString
|
||||
logFile()
|
||||
{
|
||||
return CalamaresUtils::appLogDir().filePath( "session.log" );
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user