MCPcopy Create free account
hub / github.com/acl-dev/acl / log_error

Function log_error

android/samples/fiber/http/src/main/cpp/log.cpp:15–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void log_error(const char* fmt, ...) {
16 va_list ap;
17 va_start(ap, fmt);
18 acl::string buf;
19 buf.format("thread-%lu: ", acl::thread::self());
20 buf.vformat_append(fmt, ap);
21 va_end(ap);
22
23 __android_log_write(ANDROID_LOG_ERROR, "error", buf.c_str());
24}
25
26typedef void (*write_fn)(void*, const char*, va_list);
27

Callers 6

getMethod · 0.70
runMethod · 0.70
http_get.cppFile · 0.70
get_envFunction · 0.70
test1Function · 0.70
test2Function · 0.70

Calls 3

selfFunction · 0.50
formatMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…