adjust log levels

This commit is contained in:
Peter Buchegger 2021-05-09 23:09:07 +02:00
parent 86eef28702
commit c5fd0cc46c
4 changed files with 9 additions and 9 deletions

View file

@ -30,13 +30,13 @@ std::list<std::shared_ptr<Task>> TaskManager::getTasks() {
bool TaskManager::setup(std::shared_ptr<System> system) {
logPrintlnV("will setup all tasks...");
for (std::shared_ptr<Task> &elem : _alwaysRunTasks) {
logPrintW("call setup from ");
logPrintlnW(elem->getName());
logPrintD("call setup from ");
logPrintlnD(elem->getName());
elem->setup(system);
}
for (std::shared_ptr<Task> &elem : _tasks) {
logPrintW("call setup from ");
logPrintlnW(elem->getName());
logPrintD("call setup from ");
logPrintlnD(elem->getName());
elem->setup(system);
}
_nextTask = _tasks.begin();