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

Function log_info

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

Source from the content-addressed store, hash-verified

2#include "log.h"
3
4void log_info(const char* fmt, ...) {
5 va_list ap;
6 va_start(ap, fmt);
7 acl::string buf;
8 buf.format("thread-%lu: ", acl::thread::self());
9 buf.vformat_append(fmt, ap);
10 va_end(ap);
11
12 __android_log_write(ANDROID_LOG_INFO, "info", buf.c_str());
13}
14
15void log_error(const char* fmt, ...) {
16 va_list ap;

Callers 11

runMethod · 0.70
getMethod · 0.70
runMethod · 0.70
acl_foreachFunction · 0.70
debugMethod · 0.70
get_envFunction · 0.70
test1Function · 0.70
test2Function · 0.70
fiber_thread_runFunction · 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…