HhoopeCheungv3.23.3
3c04472f创建于 2023年4月25日历史提交
#include "log4cpp/threading/Threading.hh"

#ifndef LOG4CPP_HAVE_THREADING

namespace log4cpp {
    namespace threading {

        std::string getThreadId() {
            // more useful would be to return the PID.
            return std::string("thread1");
        }

    }
}

#endif // LOG4CPP_HAVE_THREADING