| 19 | } |
| 20 | |
| 21 | void cppnet::CCppNet::Init(int32_t thread_num) { |
| 22 | if (__open_log) { |
| 23 | base::CLog::Instance().SetLogLevel(__log_level); |
| 24 | base::CLog::Instance().SetLogName(__log_file_name); |
| 25 | base::CLog::Instance().Start(); |
| 26 | } |
| 27 | |
| 28 | _cppnet_instance->Init(thread_num); |
| 29 | } |
| 30 | |
| 31 | void cppnet::CCppNet::Join() { |
| 32 | _cppnet_instance->Join(); |
nothing calls this directly
no test coverage detected