Verified Commit 23a6257a authored by Ramon Nou's avatar Ramon Nou Committed by Marc Vef
Browse files

Format logging

parent 91b5aca1
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -218,7 +218,9 @@ format_timestamp_to(Buffer&& buffer,
        return;
    }

    auto str = format("%F %T", date::zoned_time<std::chrono::microseconds>{timezone, now});
    auto str =
            format("%F %T",
                   date::zoned_time<std::chrono::microseconds>{timezone, now});

    fmt::format_to(std::back_inserter(buffer), "[{}] ", str);
}