This commit is contained in:
Ken Van Hoeylandt 2026-01-22 21:37:31 +01:00
parent 5565b77c7c
commit 5ceadc4ebf
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ static const LoggerAdapter genericLoggerAdapter = [](LogLevel level, const char*
constexpr auto COLOR_GREY = "\033[37m";
std::stringstream buffer;
buffer << COLOR_GREY << getLogTimestamp() << ' ' << toTagColour(level) << toPrefix(level) << COLOR_GREY << " [" << COLOR_RESET << tag << COLOR_GREY << "] " << toMessageColour(level) << message << COLOR_RESET << std::endl;
printf(buffer.str().c_str());
printf("%s", buffer.str().c_str());
};
}

View File

@ -3,7 +3,7 @@
#include <Tactility/Driver.h>
#include <Tactility/Log.h>
#include <algorithm>
#include <ranges>
#include <cassert>
#include <cstring>
#include <sys/errno.h>