Replaced Logger usage with LOG_x (#548)

This commit is contained in:
Ken Van Hoeylandt
2026-07-04 23:49:19 +02:00
committed by GitHub
parent ecad2248d9
commit 9d5993930d
162 changed files with 1776 additions and 1842 deletions
+5 -3
View File
@@ -5,7 +5,9 @@
#include "FreeRTOS.h"
#include "task.h"
static const auto LOGGER = tt::Logger("FreeRTOS");
#include <tactility/log.h>
constexpr auto* TAG = "FreeRTOS";
namespace simulator {
@@ -16,10 +18,10 @@ void setMain(MainFunction newMainFunction) {
}
static void freertosMainTask(void* parameter) {
LOGGER.info("starting app_main()");
LOG_I(TAG, "starting app_main()");
assert(simulator::mainFunction);
mainFunction();
LOGGER.info("returned from app_main()");
LOG_I(TAG, "returned from app_main()");
vTaskDelete(nullptr);
}