Function setThreadName
Synopsis
#include <src/easylogging++.h>
static void setThreadName(const std::string &name)
Description
Sets thread name for current thread. Requires std::thread.
Mentioned in
- Getting Started / Logging Format Specifiers
- STL / thread-names.cpp
Source
Lines 3676-3678 in src/easylogging++.h.
static inline void setThreadName(const std::string& name) {
ELPP->setThreadName(name);
}