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:
parent
2e8268d040
commit
85e8f099c7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user