This commit is contained in:
Mars 2025-04-24 00:10:10 -04:00
parent 2219182539
commit 9695ceec8a
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895
13 changed files with 261 additions and 262 deletions

View file

@ -121,8 +121,7 @@ fn LogImpl(const LogLevel level, const std::source_location& loc, std::format_st
-> void {
using namespace std::chrono;
const time_point<system_clock, duration<long long, std::ratio<1, 1>>> now =
std::chrono::floor<std::chrono::seconds>(std::chrono::system_clock::now());
const time_point<system_clock, duration<i64>> now = std::chrono::floor<seconds>(system_clock::now());
const auto [color, levelStr] = [&] {
switch (level) {