MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / GetTime

Function GetTime

05.32-stdFmtCustomLogger4/main.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50std::chrono::time_point<std::chrono::system_clock> GetTime()
51{
52 // return std::time(nullptr);
53 // return 1605722947;
54 return std::chrono::system_clock::now();
55}
56
57void vlog(std::string_view fmt, std::format_args&& args)
58{

Callers 1

vlogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected