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

Method Process

phxqueue/test/test_log.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30
31void TestLog::Process() {
32 comm::LogFunc log_func;
33 plugin::LoggerGoogle::GetLogger("test_log", "./log/test", 2, log_func); // level: warn
34 comm::Logger::GetInstance()->SetLogFunc(log_func);
35
36 NLErr("error");
37 NLWarn("warn");
38 NLInfo("info");
39}
40
41} // namespace test
42

Callers

nothing calls this directly

Calls 1

SetLogFuncMethod · 0.80

Tested by

no test coverage detected