|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
| void drama::logging::Logger::RegisterThreadNoDramaCtx | ( | std::weak_ptr< Task > | dramaTask, |
| const char * | func = "*non-drama*" |
||
| ) |
Register this thread with with the logger, but without a DRAMA context.
If the thread logs a message, a dummy DRAMA context will be used, which ensures the messages are consistent and traceable.
| dramaTask | The DRAMA task this program is part of. |
| func | A name used in a log message to indicate the function doing the registering. Defaults to "*non-drama*", but the name of the current function (from the macro func), is possible, but only 16 chars available. |