|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
|
inline |
Log a message using type safe formatting.
Explicitly log a message. Type Safe formatting.
This version is probably slower then the Log() version and provides no way to influence the formatting. But in many cases its type safety is what really matters.
| level | The logging level. One of the D2LOG_ macro values |
| prefix | A prefix to the log message, often indicting the function which makes the call. |
| fmt | The format string. Each % character is to be replaced by the corresponding argument. Note - only the % is needed and used, don't do for example "%d". To output a %, use "%%". |
| args | Then the arguments to the format. |
| Types... | the argument types. |
References drama::CreateRunDramaTask(), LogNF(), and drama::SafePrintf().