Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ vlog
Function
vlog
05.29-stdFmtCustomLogger2/main.cpp:62–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
}
61
62
void vlog(LogLevel level,
63
std::string_view fmt,
64
std::format_args&& args)
65
{
66
std::clog << std::format(
"{}: "
, level)
67
<< std::vformat(fmt, args);
68
}
69
70
constexpr void log(LogLevel level, const auto&... args)
71
{
Callers
1
log
Function · 0.70
Calls
1
format
Function · 0.50
Tested by
no test coverage detected