AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ LogF() [2/2]

template<typename... Args>
void drama::logging::Logger::LogF ( unsigned  level,
const std::string &  prefix,
const fmt::format_string< Args... >  fmt,
Args &&...  args 
)
inline

Log a message using with fmt::format string formatting.

Explicitly log a message. Type Safe formatting.

See DRAMA 2 String formatting for details on this formatting approach.

Parameters
levelThe logging level. One of the D2LOG_ macro values
prefixA prefix to the log message, often indicting the function which makes the call.
fmtThe string for formatting. See fmt::format for details.
argsArguments to the format. See fmt::format for details.
Template Parameters
Args...the remaining argument types.

References drama::CreateRunDramaTask(), and LogNF().