MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / Init

Method Init

net/CppNet.cpp:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void 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
31void cppnet::CCppNet::Join() {
32 _cppnet_instance->Join();

Callers

nothing calls this directly

Calls 3

SetLogLevelMethod · 0.80
SetLogNameMethod · 0.80
StartMethod · 0.45

Tested by

no test coverage detected