fix: Fix default severity in Logger (#2449)

This commit is contained in:
Ayaz Salikhov
2025-08-18 16:04:54 +01:00
committed by GitHub
parent 57ac234657
commit 46c96654ee
2 changed files with 7 additions and 7 deletions

View File

@@ -242,7 +242,7 @@ private:
class LogService {
struct Data {
bool isAsync;
Severity severity;
Severity defaultSeverity;
std::vector<std::shared_ptr<spdlog::sinks::sink>> allSinks;
};
@@ -252,7 +252,7 @@ private:
static Data data;
static std::shared_ptr<spdlog::logger>
registerLogger(std::string const& channel, Severity severity = data.severity);
registerLogger(std::string const& channel, Severity severity = data.defaultSeverity);
public:
LogService() = delete;