MCPcopy Create free account
hub / github.com/Tencent/phxqueue / main

Function main

phxqueue/test/test_config_main.cpp:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23
24int main(int argc, char **argv) {
25 comm::LogFunc log_func;
26 plugin::LoggerGoogle::GetLogger("test_config", "/tmp/phxqueue/log", 3, log_func);
27 comm::Logger::GetInstance()->SetLogFunc(log_func);
28
29 config::GlobalConfig global_config;
30 assert(comm::RetCode::RET_OK == global_config.Load());
31 test::TestConfig::TestGlobalConfig(&global_config);
32
33 return 0;
34}
35

Callers

nothing calls this directly

Calls 2

SetLogFuncMethod · 0.80
LoadMethod · 0.80

Tested by

no test coverage detected