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

Function logger_hook

android/samples/websocket/websocket/src/main/cpp/util.cpp:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47static void logger_hook(void (*write_callback)(void*, const char* fmt, va_list ap))
48{
49 if (__opened) {
50 return;;
51 }
52 __opened = true;
53 acl_msg_register(open_callback, NULL, write_callback, NULL);
54 acl_msg_open("dummy.txt", "dummy");
55 logger("acl lib init ok!");
56}
57
58static void logger_unhook(void)
59{

Callers 1

log_openFunction · 0.85

Calls 2

acl_msg_registerFunction · 0.85
acl_msg_openFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…