Where we store the custom thread name set by `set_thread_name`
| 1053 | #if LOGURU_WINTHREADS |
| 1054 | // Where we store the custom thread name set by `set_thread_name` |
| 1055 | char* thread_name_buffer() |
| 1056 | { |
| 1057 | __declspec(thread) static char thread_name[LOGURU_THREADNAME_WIDTH + 1] = { 0 }; |
| 1058 | return &thread_name[0]; |
| 1059 | } |
| 1060 | #endif // LOGURU_WINTHREADS |
| 1061 | |
| 1062 | void set_thread_name(const char* name) |
no outgoing calls
no test coverage detected