MCPcopy Create free account
hub / github.com/apple/foundationdb / log_err

Function log_err

fdbmonitor/fdbmonitor.cpp:187–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void log_err(const char* func, int err, const char* format, ...) {
188 va_list args;
189 va_start(args, format);
190
191 char buf[4096];
192 int len = vsnprintf(buf, 4096, format, args);
193
194 log_msg(SevError, "%.*s (%s error %d: %s)\n", len, buf, func, err, strerror(err));
195
196 va_end(args);
197}
198
199const char* get_value_multi(const CSimpleIni& ini, const char* key, ...) {
200 const char* ret = nullptr;

Callers 7

abspathFunction · 0.85
CommandMethod · 0.85
start_processFunction · 0.85
load_confFunction · 0.85
read_child_outputFunction · 0.85
set_watchesFunction · 0.85
mainFunction · 0.85

Calls 1

log_msgFunction · 0.85

Tested by

no test coverage detected