MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / LogLine

Method LogLine

Bcore/src/main/cpp/android-base/logging.cpp:466–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466void LogMessage::LogLine(const char* file, unsigned int line, LogId id, LogSeverity severity,
467 const char* tag, const char* message) {
468 if (tag == nullptr) {
469 std::lock_guard<std::recursive_mutex> lock(TagLock());
470 if (gDefaultTag == nullptr) {
471 gDefaultTag = new std::string(getprogname());
472 }
473 Logger()(id, severity, gDefaultTag->c_str(), file, line, message);
474 } else {
475 Logger()(id, severity, tag, file, line, message);
476 }
477}
478
479void LogMessage::LogLine(const char* file, unsigned int line, LogId id, LogSeverity severity,
480 const char* message) {

Callers

nothing calls this directly

Calls 3

getprognameFunction · 0.85
LoggerClass · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected