#pragma once #include #include "../../Core/spdlog/export.h" #include "Serial.h" void serial_log(Log_Type &log_type, std::string_view MSG); #define LOG_ERROR(MSG) \ static Log_Type log_type({}, {{"POS", LOG_POS}}); \ serial_log(log_type, MSG);