MCPcopy Create free account
hub / github.com/android/ndk-samples / LogdLogChunk

Function LogdLogChunk

base/src/main/cpp/logging.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127static void LogdLogChunk(LogId id, LogSeverity severity, const char* tag,
128 const char* message) {
129 int32_t lg_id = LogIdTolog_id_t(id);
130 int32_t priority = LogSeverityToPriority(severity);
131
132 __android_log_buf_print(lg_id, priority, tag, "%s", message);
133}
134
135LogdLogger::LogdLogger(LogId default_log_id)
136 : default_log_id_(default_log_id) {}

Callers

nothing calls this directly

Calls 2

LogIdTolog_id_tFunction · 0.85
LogSeverityToPriorityFunction · 0.85

Tested by

no test coverage detected