diff --git a/log/src/Logger.cc b/log/src/Logger.cc index 8866c26..0eccc61 100644 --- a/log/src/Logger.cc +++ b/log/src/Logger.cc @@ -69,8 +69,9 @@ Logger::Logger(const std::string &_loggerName) this->dataPtr->sinks->add_sink(this->dataPtr->consoleSink); // Configure the logger. + this->dataPtr->logger->set_level(spdlog::level::trace); this->dataPtr->consoleSink->set_level(spdlog::level::err); - this->dataPtr->logger->flush_on(spdlog::level::err); + this->dataPtr->logger->flush_on(spdlog::level::debug); this->dataPtr->logger->set_formatter(this->dataPtr->formatter->clone()); }