MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / Log

Method Log

src/logging/timer.h:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void Log(const std::string& msg)
52 {
53 const std::string full_msg = this->LogMsg(msg);
54
55 if (m_log_category == BCLog::LogFlags::ALL) {
56 LogInfo("%s\n", full_msg);
57 } else {
58 LogDebug(m_log_category, "%s\n", full_msg);
59 }
60 }
61
62 std::string LogMsg(const std::string& msg)
63 {

Callers 2

TimerMethod · 0.95
~TimerMethod · 0.95

Calls 1

LogMsgMethod · 0.95

Tested by

no test coverage detected