MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / logmsgf

Function logmsgf

util/logmsg.c:239–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239int logmsgf(loglvl lvl, FILE *f, const char *fmt, ...) {
240 va_list args;
241 va_start(args, fmt);
242# ifndef BUILDING_TOOLS
243 int ret = gbl_logmsg_ctrace ? ctracev(fmt, args) : logmsgvf(lvl, f, fmt, args);
244# else
245 int ret = logmsgvf(lvl, f, fmt, args);
246# endif
247 va_end(args);
248 return ret;
249}
250
251int logmsgperror(const char *s) {
252 int ret;

Callers 15

bdb_queue_dump_intFunction · 0.85
txn_statsFunction · 0.85
lock_statsFunction · 0.85
rep_statsFunction · 0.85
bdb_dump_freelistFunction · 0.85
bdb_state_dumpFunction · 0.85
cache_statsFunction · 0.85
sanc_dumpFunction · 0.85
netinfo_dump_hostnameFunction · 0.85
bdb_short_netinfo_dumpFunction · 0.85
process_reptrcaFunction · 0.85
bdb_truncate_repdbFunction · 0.85

Calls 2

ctracevFunction · 0.85
logmsgvfFunction · 0.85

Tested by

no test coverage detected