mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-20 15:35:05 +00:00
Fixes
This commit is contained in:
parent
5565b77c7c
commit
5ceadc4ebf
@ -29,7 +29,7 @@ static const LoggerAdapter genericLoggerAdapter = [](LogLevel level, const char*
|
|||||||
constexpr auto COLOR_GREY = "\033[37m";
|
constexpr auto COLOR_GREY = "\033[37m";
|
||||||
std::stringstream buffer;
|
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;
|
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());
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -3,7 +3,7 @@
|
|||||||
#include <Tactility/Driver.h>
|
#include <Tactility/Driver.h>
|
||||||
#include <Tactility/Log.h>
|
#include <Tactility/Log.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <ranges>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user