|
AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
| void drama::logging::Logger::RegisterThread | ( | const Dits___CurActType & | dramaContext, |
| std::thread::id | threadId = std::this_thread::get_id(), |
||
| const char * | func = "*unnamed func*" |
||
| ) |
Register the DRAMA context of a thread.
If the specified thread logs a message, the DRAMA context will be set to that specified.
| dramaContext | The DRAMA context for the thread. |
| threadId | The ID of the thread. Defaults to the current thread. |
| func | A name used in a log message to indicate the function doing the registering. Defaults to "*unnamed func*", but the name of the current function (from the macro func), is possible, but only 16 chars avail. |