1
0
Fork 0
forked from blue/mlc

changed logging concept, reworked task manager

This commit is contained in:
Blue 2023-10-08 20:29:40 -03:00
parent 6c7356598a
commit 0b268a7245
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
19 changed files with 497 additions and 260 deletions

View file

@ -12,7 +12,7 @@
#include <cctype>
#include <sstream>
#include "loggable.h"
#include "logger/logger.h"
class Settings {
public:
@ -40,7 +40,7 @@ public:
std::string getOutput() const;
std::string getConfigPath() const;
bool isConfigDefault() const;
Loggable::Severity getLogLevel() const;
Logger::Severity getLogLevel() const;
Type getType() const;
Action getAction() const;
@ -66,6 +66,6 @@ private:
std::optional<Type> outputType;
std::optional<std::string> input;
std::optional<std::string> output;
std::optional<Loggable::Severity> logLevel;
std::optional<Logger::Severity> logLevel;
std::optional<std::string> configPath;
};