MCPcopy Create free account
hub / github.com/ElementsProject/elements / Log

Method Log

src/logging/timer.h:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

TimerMethod · 0.95
~TimerMethod · 0.95

Calls 1

LogMsgMethod · 0.95

Tested by

no test coverage detected