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

Source

Lines 3676-3678 in src/easylogging++.h.

static inline void setThreadName(const std::string& name) {
  ELPP->setThreadName(name);
}





Add Discussion

Log in to comment