|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
| void drama::logging::Logger::Log | ( | unsigned | level, |
| bool | nofmt, | ||
| const char * | prefix, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
Log a message using C printf formatting.
Explicitly log a message using C printf style formatting.
| level | The logging level. One of the D2LOG_ macro values |
| nofmt | If true, don't format the message, presume it is already formatted (improves efficiency for cases where we know that no formatting is needed. Please consider using LogNF() instead of setting this true, that is more efficient and avoids possible compiler warnings. |
| prefix | A prefix to the log message, often indicting the function which makes the call. |
| fmt | C 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. |