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

Method SetLogFunc

phxqueue/comm/logger.cpp:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void Logger::SetLogFunc(LogFunc log_func) {
112 impl_->log_func = log_func;
113}
114
115void Logger::Log(const int log_level, const char *format, va_list args) {
116 if (impl_->log_func != nullptr) {

Callers 15

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
InitMethod · 0.80
InitMethod · 0.80
InitMethod · 0.80
SchedulerRunFunction · 0.80
mainFunction · 0.80
LockRunFunction · 0.80
StoreRunFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 10

mainFunction · 0.64
mainFunction · 0.64
mainFunction · 0.64
mainFunction · 0.64
SchedulerRunFunction · 0.64
mainFunction · 0.64
LockRunFunction · 0.64
StoreRunFunction · 0.64
mainFunction · 0.64
ProcessMethod · 0.64