Skip to content
Snippets Groups Projects
Verified Commit ecee219d authored by Tobias Triffterer's avatar Tobias Triffterer :house_with_garden:
Browse files

Add Function Aliases for Logging to ExperimentState

This adds the common aliases also to this class in the library.
parent 6ff16d56
No related branches found
No related tags found
No related merge requests found
Pipeline #2929 passed with stage
in 20 seconds
......@@ -30,6 +30,7 @@
#include <cinttypes>
#include "boundednumeral.h"
#include "clilogger.h"
#include "command.h"
#include "fp311online_export.h"
......@@ -78,6 +79,12 @@ public:
ExperimentState ( ExperimentState&& other ) = default;
ExperimentState& operator= ( const ExperimentState& other ) = default;
ExperimentState& operator= ( ExperimentState&& other ) = default;
private:
const CliLogger::ComponentLogger logError = CliLogger::createComponentLogger(QStringLiteral("ExperimentState"), LogLevel::Error);
const CliLogger::ComponentLogger logWarning = CliLogger::createComponentLogger(QStringLiteral("ExperimentState"), LogLevel::Warning);
const CliLogger::ComponentLogger logInfo = CliLogger::createComponentLogger(QStringLiteral("ExperimentState"), LogLevel::Info);
const CliLogger::ComponentLogger logDebug = CliLogger::createComponentLogger(QStringLiteral("ExperimentState"), LogLevel::Debug);
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment