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

◆ Log() [2/2]

void drama::logging::Logger::Log ( unsigned  level,
bool  nofmt,
const char prefix,
const char fmt,
  ... 
)

Log a message using C printf formating.

Explictly log a message using C printf style formatting.

Parameters
levelThe logging level. One of the D2LOG_ macro values
nofmtIf true, don't format the message, presume it is already formatted (improves efficiency for cases where we know that no formatting is needed.
prefixA prefix to the log message, often indicting the function which makes the call.
fmtC printf style format statement, unless nofmt is true, in which case it is just a string to output.
...If nofmt is false, then the arguments to the format. See printf() for details.

Referenced by SLog(), and SLog().