1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-28 18:58:48 -05:00

Logging: file logger: added file logger settings getter and setter

This commit is contained in:
f4exb 2017-11-11 22:55:14 +01:00
parent 2e8268d040
commit 85e8f099c7

View File

@ -78,6 +78,18 @@ public:
*/
virtual ~FileLogger();
/**
* Get a file logger settings copy
* @return The current file logger settings
*/
FileLoggerSettings getFileLoggerSettings() const { return fileLoggerSettings; }
/**
* Set new file logger settings data
* @param File logger settings to replace current data
*/
void setFileLoggerSettings(const FileLoggerSettings& settings) { fileLoggerSettings = settings; }
/** Write a message to the log file */
virtual void write(const LogMessage* logMessage);